I installed the expo managed workflow and also followed the revenuecat/react-native-purchases guide and trying a simple code to setDebugLogs I keep getting
React.useEffect(() => {
Purchases.setDebugLogsEnabled(true);
}, []);
null is not an object (evaluating 'RNPurchases.setDebugLogsEnabled')
I also tried a simple configure and got similar issue
React.useEffect(() => {
Purchases.configure({apiKey:"xxxxxxxxx"});
}, []);
null is not an object (evaluating 'RNPurchases.setPurchases')
Any idea what could it be or how to debug this?
I read other comments and issues but none of them had a working solution
Note: I started trying this today so I have the latest versions of everything, expo, react native and react native purchases