- User John
- Custom App ID: 8EFA
- Android Device A
- Android Device B
- Goole Play Account: John
- Goole Play Account: Tom
Scenario:
- John logs in RevenueCat device A(John account) with custom ID(8EFA) and purchases Subscription $5 monthly Item.
- John logs in RevenueCat with the same custom ID(8EFA) device B(Tom account).
- Click the $10 monthly subscription Item.
Expected Result: Pop up Message “The current Google Play Store account does not match the account you paid for” and link the managementURL deepLink
Actual Result: Purchase process again.
What I have done:
I read this question.
and Idea with Google Play Developer API
- Save play store account ID after purchase(using billingFlowParam?? or receipt)
- When subscription event fire, check current play store account and saved store account
Here is the question
- How to know current Google Play account
- Is it accurate above idea? or I would love to better idea