Android Question InappBilling3 blocking animation

JohnC

Expert
Licensed User
Longtime User
At the start of my app I do a:

B4X:
InAppBill.Initialize("InAppBill", InAppKey)

I also do a few color animations in a timer_tick sub:

B4X:
lblRecording.SetTextColorAnimated(300, Colors.ARGB(80,180,180,180))

It appears that when I run the app for the first time for the day, it can take up to 5 seconds for the
InAppBill_BillingSupported event to fire. (for some reason, if I run the app a few minutes later, the event fires very quickly, but then will take 5 seconds when I run it for the first time again the next day)

And during that 5 seconds, the color animation freezes.

Any ideas why this is happening and how to prevent it?
 
Top