RevenueCat / RevenueCat/react-native-purchases

Initialize RevenueCat STORE for both iOS & Android in a single Screen

Open
#852 5 comments 0 reactions 0 assignees View on GitHub

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().

image

It was not very clear in the documentation that how it could be done very fast.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.