Skip to content

Commit c98f21d

Browse files
authored
Add warning about possible issue when syncing purchases on Google play if multiple apps with same prefix (#944)
1 parent a98df86 commit c98f21d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/migrating-to-revenuecat/migrating-existing-subscriptions.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ When a customer launches with the first version containing RevenueCat it will tr
5252
It's okay to trigger a sync once per subscriber programmatically the first time they open a version of your app containing RevenueCat. You **should not** call this programmatically on every app launch for every user. This can increase latency in your app and can unintentionally alias customers together.
5353
:::
5454

55+
:::warning Google Play Billing can receive purchases from other apps
56+
When syncyng purchases, Google Play has shown to display strange behaviors. If you have an app with package name being prefix of another, trying to fetch historic purchases from the Billing Client could cause some errors. For example if you have apps with package names `com.mydomain.myapp` and `com.mydomain.myapp.test`, the Billing Client will receive purchases from `com.mydomain.myapp.test` even when querying historical purchases from the `com.mydomain.myapp` app.
57+
This won't cause any lose of data since all purchases are still synced, however, purchases in this scenario will fail to sync when validating them in our servers, causing the syncPurchases call to fail. This should be safe to ignore.
58+
:::
59+
5560
### Data Processing Time
5661

5762
After importing purchase data into RevenueCat (whether via server-side or client-side methods), please note that there may be a delay before this data is fully reflected across all RevenueCat systems:

0 commit comments

Comments
 (0)