danik_com's Forum Posts

  • Because your workaround might be worse.

    Of course, these 2 seconds might slightly increase the number of users who leave before starting the game session, but what choice do we have? If the ANR rate exceeds 0.47%, Google will remove us from all lists, and organic traffic will drop to zero. What could be worse?

  • > Sorry, just to clarify if I understood correctly that I need two actions

    > 1. Delete the line "cordovaInterface.pluginManager.postMessage("setupSplashScreen", splashScreen)"

    > 2. Set true "AutoHideSplashScreen" value="true"

    >

    > or will only the second action be enough?

    No, it's not.

    I am building through cordova and before building I need to change one parameter.

    You build through android studio, I don't know how to do it there.

    I did as you said, changing just one parameter on True, it really works a little smoother and faster than deleting the line. Thank you very much!

    Via Android Studio everything is exactly the same, in the config.xml file

  • > Yes, I already did it by deleting the line "cordovaInterface.pluginManager.postMessage("setupSplashScreen", splashScreen)" and the speed of cold start on Google tests increased by 10-12 times...

    You just deleted this line, and you need to activate automatic hiding of the boot screen. There is a fine-tuning of this parameter somewhere, you can specify the time to wait before hiding this screen.

    Sorry, just to clarify if I understood correctly that I need two actions

    1. Delete the line "cordovaInterface.pluginManager.postMessage("setupSplashScreen", splashScreen)"

    2. Set true "AutoHideSplashScreen" value="true"

    or will only the second action be enough?

  • > Yes, I already did it by deleting the line "cordovaInterface.pluginManager.postMessage("setupSplashScreen", splashScreen)" and the speed of cold start on Google tests increased by 10-12 times...

    That's not what I suggested.

    You just deleted this line, and you need to activate automatic hiding of the boot screen. There is a fine-tuning of this parameter somewhere, you can specify the time to wait before hiding this screen.

    What I suggested above is relevant, I don't know how else to help you.

    Thanks. Now I'll try your version.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • > > Hi. I build via Cordoba and put this parameter in my manifest. I think it works faster, I only tested it on my test devices.

    > > > "AutoHideSplashScreen" value="true"

    >

    > and what do you think, is it possible to disable the splash screen in an .aab file?

    No. This parameter defaults to "false" in the "config.xml" file. You need to change the value to "true". This should be done before building the package.

    Are you sure it's the splash screen, you can attach the apk file. I will look at the logs on a test device. You can also attach a cordova archive as on the screen I will build and check it myself.

    Yes, I already did it by deleting the line "cordovaInterface.pluginManager.postMessage("setupSplashScreen", splashScreen)" and the speed of cold start on Google tests increased by 10-12 times. Excellent. True, at the start there is one unpleasant moment, for half a second there appears, a white panel with buttons, this is not very critical, but it is interesting to try your version

    And with what program can I then export the cordova project to a signed aab? Is it possible using android studio?

  • Construct already automatically hides the splash screen as soon as it is ready to show anything. If you want to hide the splash screen ASAP, the important thing is not to use loader style "none", which shows the splash screen until the entire project is loaded (hiding any loading progress). FWIW the root cause problem here appears to be Google measuring stats incorrectly, so for a real fix, ask Google to fix that.

    Unfortunately I don't have any friends at google to ask them to solve this problem, but there are ANR errors that are killing my app right now. I've never had "none" in the loader. In this post people wrote that the solution to this problem is to disable the splash screen by removing "cordovaInterface.pluginManager.postMessage("setupSplashScreen", splashScreen)"

    Why can't you add this to the construct panel? Yes, these are google errors, but you know that your community suffers from this problem and it has been going on for more than two years, you can create an option that will save us from this problem without using roundabout methods.

  • Hi. I build via Cordoba and put this parameter in my manifest. I think it works faster, I only tested it on my test devices.

    > "AutoHideSplashScreen" value="true"

    and what do you think, is it possible to disable the splash screen in an .aab file?

  • Hi. I build via Cordoba and put this parameter in my manifest. I think it works faster, I only tested it on my test devices.

    > "AutoHideSplashScreen" value="true"

    Thanks! Will this work exactly the same as removing the line "cordovaInterface.pluginManager.postMessage("setupSplashScreen", splashScreen);" ?

  • My game has a lot of anr errors related to android.os.MessageQueue.nativePollOnce - I saw that the solution is to disable the splash screen via android studio.

    But maybe it can be done in a simpler way, without contacting android studio?

  • How can I reduce cold start time? Google warns that 60% of my players take more than 6 seconds to load

    Also my ANR rate is almost 3%, the main error is android.os.MessageQueue.nativePollOnce, I saw there was a discussion on the forum but it's been more than a year, is there a solution now?

    Tagged:

  • Google play shows API error 34 and payment libraries, despite the fact that today I compiled a build in the latest version of C3 and published it, what should I do?

  • DiamonDcher did you manage to solve this problem? Now I'm trying to do the same

  • Hello. I want to track my Google Play app installs that I received from Facebook advertising.

    Please tell me how can I do this?

    I've already tried many methods, but installations in Facebook Ads are still not tracked

    Tagged:

  • Where can I find the application id for the google play plugin in the google play console?

  • I want to connect Facebook SDK, for this Facebook requires me to specify a hash address, which consists of 28 characters and ends with =, how to get this key into construct 3?

    Also, my application is already published in the google play store, is it possible to get this code there?