RevenueCat / RevenueCat/react-native-purchases
Initialize RevenueCat STORE for both iOS & Android in a single Screen
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 117
- Avg merge
- 14h 40m
- Merged PRs (30d)
- 40
Description
Suggesting a way to --> Initialize RevenueCat STORE for both iOS & Android in a single Screen
If you are controlling both Android and iOS paywall screen from a single screen, then initialize RevenueCat STORE like below just before calling product purchase API instead of calling the initialize SDK inside useEffect().
It was not very clear in the documentation that how it could be done very fast.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the existing React Native documentation for SDK initialization and the issue's suggested single-screen flow for iOS and Android. Clarify when to initialize the RevenueCat store relative to the product purchase API, and ensure the documentation explains the cross-platform case clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- documentation, mobile
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100