Skip to content

Update SDK documentation for Android#39

Merged
dcrawbuck merged 1 commit intomainfrom
cursor/update-sdk-documentation-for-android-gpt-5.1-codex-3f14
Nov 25, 2025
Merged

Update SDK documentation for Android#39
dcrawbuck merged 1 commit intomainfrom
cursor/update-sdk-documentation-for-android-gpt-5.1-codex-3f14

Conversation

@dcrawbuck
Copy link
Collaborator

@dcrawbuck dcrawbuck commented Nov 22, 2025

Document the passIdentifiersToPlayStore option across Android, Flutter, and Expo SDKs.

This clarifies how appUserId is sent to Google Play's obfuscatedExternalAccountId and provides accurate, Android-specific guidance for cross-platform SDKs.


Slack Thread

Open in Cursor Open in Web


Note

Document passIdentifiersToPlayStore across Android, Flutter, and Expo, update Android options signatures, and add platform-specific guidance and examples for Google Play identifiers.

  • Docs – Android SuperwallOptions:
    • Expanded API surface in signatures: add shouldObservePurchases, passIdentifiersToPlayStore, enableExperimentalDeviceVariables, useMockReviews; switch logging to Logging; update networkEnvironment to NetworkEnvironment.Release().
    • Updated parameter table and tip; added detailed section on how passIdentifiersToPlayStore affects Google Play (obfuscatedExternalAccountId vs hashed) with compliance note.
    • Added Kotlin config example using passIdentifiersToPlayStore and LogLevel.info.
  • Docs – Expo:
    • useSuperwall.configure notes Android-specific { passIdentifiersToPlayStore: true } and added example guarded by Platform.OS.
  • Docs – Flutter SuperwallOptions:
    • Converted to mutable fields with defaults and added passIdentifiersToPlayStore.
    • Updated env values and parameter descriptions; new Android-only section explaining identifier hashing vs raw with example config; refreshed usage examples (dev/prod/localized).
  • Shared Identity Management:
    • Platform-specific guidance (Android/Flutter/Expo) on identifier behavior: default SHA-256 hash vs raw when enabling passIdentifiersToPlayStore, plus Google policy caveats.

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

Co-authored-by: duncan <duncan@superwall.com>
@cursor
Copy link

cursor bot commented Nov 22, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@dcrawbuck dcrawbuck marked this pull request as ready for review November 25, 2025 20:29
@dcrawbuck dcrawbuck merged commit ba40872 into main Nov 25, 2025
2 checks passed
@dcrawbuck dcrawbuck deleted the cursor/update-sdk-documentation-for-android-gpt-5.1-codex-3f14 branch November 25, 2025 20:29
dcrawbuck added a commit that referenced this pull request Nov 26, 2025
* feat: upgrade to next/fumadocs 16

* feat: add pylon chat widget (#21)

* feat: add pylon chat widget

* fix: pylon script

can assume auth is only valid in dev

* fix: script for pylon widget

* feat: support page based on log in state

* Does a bunch of image optimziation

* Tweaks

* Revert "Does a bunch of image optimziation"

* fix: add missing env vars

* Update docs to remove test event references (#30)

* docs(integrations): remove test event references, require sandbox events for testing

Remove all references to sending/triggering a "test" event across integrations and webhooks. Updated guidance to validate via real sandbox transactions (TestFlight sandbox Apple ID, Play Store test accounts, Stripe Test Mode). Clarifies that StoreKit configuration files do not produce webhooks.

Refs SW-4140.

* feat: Add initial project dependencies

This commit adds the initial set of dependencies required for the project, including React, Next.js, and various utility and UI libraries.

Co-authored-by: duncan <duncan@superwall.com>

* Delete package-lock.json

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>

* Webhooks verify

* Adds stripe customer email prefill docs

* Create webhooks-verify.mdx

* Purchasing guide

* Account manage stuff

* Update

* feat: update revenuecta exmaple

* Update paywall-editor-styling-elements.mdx

* Adds more web checkout context

* Slight adjustments to android revenue tracking setup

* Adds light dark note

* Adds direct sdk reference tools

* Adds paywallOverrides docs

* feat: remove duplicate rev cat purhcase controller (#35)

* fix-links (#36)

* Image for bottom sheet

* chore: exclude scripts directory from TypeScript compilation

* Guide

* Images

* Update web checkout revenuecat redemption example (#37)

Co-authored-by: Cursor Agent <cursoragent@cursor.com>

* Create CONTRIBUTING.md

* Update README.md

* feat: add edit on github button

* feat: react native docs (#41)

* feat: Add passIdentifiersToPlayStore option to SuperwallOptions (#39)

Co-authored-by: Cursor Agent <cursoragent@cursor.com>

* feat: upgrade to next/fumadocs 16

* fix: home page redirect, rn callout

* fix: dropdown selector

* fix: opennext build isuse

* feat: build script improvements

* fix: syntax, sdk docs link

---------

Co-authored-by: Brian Anglin <brianranglin@gmail.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Jordan Morgan <the_morgan_fam@yahoo.com>
Co-authored-by: Yusuf Tör <3296904+yusuftor@users.noreply.github.com>
Co-authored-by: Makisuo <minetoaster12@gmail.com>
Co-authored-by: Makisuo <31933546+Makisuo@users.noreply.github.com>
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.

2 participants