RevenueCat / react-native-purchases

React Native in-app purchases and subscriptions made easy. Support for iOS and Android.
https://www.revenuecat.com
MIT License
773 stars 84 forks source link

Support of bare react-native, non expo #1070

Closed whalemare closed 2 months ago

whalemare commented 3 months ago

Your docs says that for bare react-native workflow, users should migrate it project to expo, but in case of monorepos and large codebases it's not very easy.

Your codebase of react-native-purchases uses nothing special from expo (or I can't figure it out), so why you enforce your clients to migrate from react-native to expo?

Can you make a standalone solution without expo?

RCGitBot commented 3 months ago

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

vegaro commented 3 months ago

It is possible to use react-native-purchases without Expo, and only with React Native. Sorry if that was confusing. Where did you read this so we can update the docs and make it more clear.

Thanks!

whalemare commented 3 months ago

@vegaro thank you for answering

What about react-native-purchases-ui? Can it be used without Expo?

You have a great feature with paywalls, but it's can be used only inside expo, I suppose

vegaro commented 3 months ago

It can also be used with regular React Native 😸