0

I have implemented subscription using google play billing library 5. This library performs the billing according to the primary gmail account of google playstore. I am facing issue in handling the following scenario :

  1. User A login into app and buy subscription for product S.

  2. Then User A logout and User B login into the app and try to buy subscription for same product S in the same android device, which get failed and shows the error message like the item is already purchased.

I know the reason why item already purchased is shown to User B as susbcription is linked with primary google account used for Playstore.

I want to implement susbcription according to app user not according to google account. Please let me know how can I handle this scenario using Google Play Billing Library 5

Deepak Rattan
  • 1,279
  • 7
  • 21
  • 47

0 Answers0