Android Question Google Pre-launch Report

Discussion in 'Android Questions' started by Paul Leischow, May 27, 2019.

  1. Paul Leischow

    Paul Leischow Member Licensed User

    I have uploaded a APK created with B4A to the Google Play Console.
    After a short time I receive a pre-launch report with 9 warning identified stating my app is using grey listed API's and Google can't guarantee they will work on existing devices.

    As far as I can tell I am using the libraries that come with B4A...
    The Google warnings start like this and there are 9 in total...
    Has anyone else experienced this? Should I be concerned as I do not know what these are?
     
  2. Paul Leischow

    Paul Leischow Member Licensed User

    After some more searching I came across someone else with report warnings and it seems to be common.

    Is there a reason why Google does not like these and gives an error?
    Is it a problem with the code created using B4A ?
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    You can ignore these two:
    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/os/Message;->flags:I

    StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/os/Message;->recycleUnchecked()V

    Don't call DoEvents or Msgbox and these flags will never be accessed.

    I'm not sure where the other two come from. If there is more information post it.
     
  4. Paul Leischow

    Paul Leischow Member Licensed User

    Here is a couple of stack traces from one of the warnings...
    and here are a couple from another warning...
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    They are related to reflection calls inside OkHttp (https://github.com/status-im/status-react/issues/8177). You can ignore them. OkHttp works properly on all devices.
    I guess that at some point a new version of OkHttp will be released that will not include these calls.
     
    Johan Hormaza likes this.
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