Hi all,
sorry, but I am very very confused with in-app billing. I have an app in Play Store with In-App Billing like described in Erels "Android In-App Billing v3 Tutorial". The app starts at first in demo mode with some restrictions. After purchase via In-App Billing the app will be unlocked with no further restrictions. I had 2 test purchases by myself with 2 different Google accounts. It worked fine, even if I installed the app on 4 different devices.
Now 2 tablets were broken and yesterday I got the first back from the shop where I bought it. But my app is still locked with both accounts.
I test the OwnedProducts in B4A with this code:
But the map "purchases" ist empty for both acounts. It's the same if I install the app from Play Store or over B4A-Bridge. If I deinstall and reinstall on another tablet, it works with both accounts. That makes me stupid!
How can I retrieve the account which is logged in from B4A?
Has anyone an idea? Did I forgot some settings on the new tablet?
Thanks for all help
Lutz
sorry, but I am very very confused with in-app billing. I have an app in Play Store with In-App Billing like described in Erels "Android In-App Billing v3 Tutorial". The app starts at first in demo mode with some restrictions. After purchase via In-App Billing the app will be unlocked with no further restrictions. I had 2 test purchases by myself with 2 different Google accounts. It worked fine, even if I installed the app on 4 different devices.
Now 2 tablets were broken and yesterday I got the first back from the shop where I bought it. But my app is still locked with both accounts.
I test the OwnedProducts in B4A with this code:
B4X:
Sub manager_OwnedProducts (Success As Boolean, purchases As Map)
If Success Then
Log(purchases)
For Each p As Purchase In purchases.Values
.
.
.
But the map "purchases" ist empty for both acounts. It's the same if I install the app from Play Store or over B4A-Bridge. If I deinstall and reinstall on another tablet, it works with both accounts. That makes me stupid!
How can I retrieve the account which is logged in from B4A?
Has anyone an idea? Did I forgot some settings on the new tablet?
Thanks for all help
Lutz