Skip to content

docs: Document platform-specific purchase handlers for React Native SDK#20

Open
promptless[bot] wants to merge 1 commit into
mainfrom
promptless/platform-specific-purchase-handlers
Open

docs: Document platform-specific purchase handlers for React Native SDK#20
promptless[bot] wants to merge 1 commit into
mainfrom
promptless/platform-specific-purchase-handlers

Conversation

@promptless

@promptless promptless Bot commented Nov 23, 2025

Copy link
Copy Markdown
Contributor

Updates the Custom Purchase Config section to document the new platform-specific purchase handlers (makePurchaseIOS and makePurchaseAndroid) from PR #42. Includes Info callout explaining Android subscription parameters (basePlanId, offerId) and notes that the deprecated makePurchase handler is still supported for backward compatibility.

Open this suggestion in the Promptless dashboard


Help us improve Promptless — If this suggestion missed the mark, please share quick feedback.

If you want Promptless to make further changes on this PR, feel free to leave a comment tagging Promptless (It won't show up in the user drop down but Promptless will get it!)


Note

Updates React Native quickstart docs to use platform-specific purchase handlers with Android subscription params, noting deprecation of the old handler.

  • Docs (React Native Quickstart)
    • Custom Purchase Config: Replace makePurchase with platform-specific makePurchaseIOS and makePurchaseAndroid in both Expo 52+ and Older Expo / Bare examples.
      • Android handler signature includes optional basePlanId and offerId.
    • Callouts:
      • Add Info on Android subscription parameters (basePlanId, offerId).
      • Add Note that deprecated makePurchase remains supported but recommend new handlers.

Written by Cursor Bugbot for commit fe6f635. This will update automatically on new commits. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants