JohnC Expert Licensed User Longtime User Aug 20, 2019 #1 At the start of my app I do a: Code: InAppBill.Initialize("InAppBill", InAppKey) I also do a few color animations in a timer_tick sub: Code: 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?
At the start of my app I do a: Code: InAppBill.Initialize("InAppBill", InAppKey) I also do a few color animations in a timer_tick sub: Code: 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?
Erel B4X founder Staff member Licensed User Longtime User Aug 21, 2019 #2 My guess is that it is not the Initialize method that causes your app to freeze for 5 seconds. This method is asynchronous. It is probably something else. Upvote 0
My guess is that it is not the Initialize method that causes your app to freeze for 5 seconds. This method is asynchronous. It is probably something else.