Ocasional Gray Screen at initializing


#1
  • Cocoon Version:
    *Latest

  • Basic description of the problem:

  • Sometimes the app stuck at gray screen when initializing. It never happens in the first run after the install. When it happens, if I kill all running apps (not only mine) and run it again it works! And it not really hangs, if I change focus to another running app, and then come back to mine, the screen updates and it works fine! Debugging I can see that when this bug happens, window.innerHeight and other size variables are returning zero.

  • Device info:
    Happening in android 7. Previous versions of android working fine.

  • Steps will reproduce the problem:
    I only have 2 cordova apps, both shows this problem under android 7. It’s pure HTML5 canvas game, no frameworks involved. Full source package attached. EDIT: I got the message “new users cannot upload attachments…” Here is a link to the package: https://drive.google.com/open?id=13NBp07hKctNxf_Ox6hssrqMjqYlQlYTI

  • Expected result:

  • Error log
    No javascript error found in log. The only relevant thing is the dimension variables that are all 0 when this happens.

  • Other information:

  • Webview engine(s):

  • Webview+. The normal webview and canvas++ simply does not work with this app.

  • Used plugins (if relevant):

  • I don’t believe it’s relevant, but the app use cocoon-plugin-ads-android-admob 1.0.11, cocoon-plugin-social-android-googleplaygames 1.1.4, cocoon-plugin-ads-android-admob-chartboost 1.0.1 e cocoon-plugin-inapps-android-googleplay 1.0.2

  • Framework/game engine (if relevant):

  • No framework/engine, pure html5 only.

Full source package here: https://drive.google.com/open?id=13NBp07hKctNxf_Ox6hssrqMjqYlQlYTI


#2

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.