Android Question InappBilling3 blocking animation

Discussion in 'Android Questions' started by JohnC, Aug 20, 2019.

  1. JohnC

    JohnC Well-Known Member Licensed User

    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(300Colors.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?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    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.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice