I have several offerings, one of them is the Current.
I fetch the offering in my react native app this way:
import Purchases from 'react-native-purchases';
export const Premium =(props: {}) => {
useEffect(() => {
(async () => {
const offerings = await Purchases.getOfferings();
console.log(offerings.all) <-----------
})()
}, ]);
...
}
In dev mode, ‘all’ includes all my offerings including custom offerings, however in production only my Current is included in ‘all’