cian
(Cian)
March 15, 2019, 3:58pm
#1
I am having an issue with Google App Billing.
Purchases are obtained when the connection is initialized, however when I use the
A message popup says that the Purchases are being loaded, but nothing happens on this event. Can someone confirm if they are having issues?
cian
(Cian)
March 15, 2019, 4:44pm
#3
Eventually?
So when someone buys a product, or subscription how am I supposed to enable it?
I have never had this issue on other apps. Subscription purchase is made, then I have to do a get owned to confirm it was purchased.
Am I doing something wrong?
1 Like
pavi2410
(Pavitra Golchha)
March 15, 2019, 8:57pm
#4
It triggers only after a callback is received from Google servers which depends on the speed of the network connection.
cian
(Cian)
March 15, 2019, 9:22pm
#5
I have a 100megabbit connection . Firebase works perfect. Are there any other known issues?
1 Like
cian
(Cian)
March 18, 2019, 3:42pm
#6
Pavi,
This is not working. I dont get the purchases back consistently. It is very sporadic. I have deployed in alpha mode and am using test mode.
Any ideas on what is going on?
pavi2410
(Pavitra Golchha)
March 18, 2019, 4:09pm
#7
Are you using test product id when using test mode?
cian
(Cian)
March 18, 2019, 4:57pm
#9
Ok, it responds ONLY on the first boot of the application.
I was able to make the purchases but I had to delete the application and install it for it to do a proper query
I also tried your original version of the AIX and get the exact same response.
cian
(Cian)
March 18, 2019, 6:16pm
#10
If I can get the TOKEN that was issued at subscription time, I can do a web based query.
Have you have had a chance to look at this?
pavi2410
(Pavitra Golchha)
March 19, 2019, 4:25am
#11
Do you want to verify the token on your own server? Currently, it is not possible. But I have plans to replace the Anjlab library (which we currently use for component) to the official Google Play Billing library. That should be stable as the Anjlab library has some known bugs.
1 Like
cian
(Cian)
March 19, 2019, 6:12am
#12
I checked his code, and the token is part of his library,
What type of bugs? The issue is, I am only getting the subscriptions on initial application start. Thats it.
Is this a known issue? Am I doing something wrong? Can you recreate it?
cian
(Cian)
March 20, 2019, 12:31pm
#13
Pavi have you had a chance to take a look at this?
Why the Got Subscriptions only works on a fresh install?
Yes , if i will erase app data and reopen its work