The slow Mobile Advert plugin is the reason for the long loading of the app in Construct!

0 favourites
From the Asset Store
Royal Panda Casino
$40 USD
60% off
Create your own casino app and import it to Google Play and the App Store.
  • Hi.

    I've been dealing with the issue of long loading of the project.

    Deleted all sprites, ES, JS...

    Anyway, the app download took 8-9 seconds. For comparison, an example of a game with sprites and 3D from Construct loads in 2-3 seconds.

    I found the reason for the long download. This is a plugin from Construct Mobile Advert. Without it, the app started loading in 2-3 seconds, and when adding the Mobile Advert plugin to the example game from Construct, it started loading for a long time: 8-9 seconds.

    By the way, the old compilation of my project with the Mobile Advert plugin from a year ago loads quickly: in 2-3 seconds.

    So the problem is with this updated slow Mobile Advert plugin.

  • Same here! Just tested and some time take more than 5-10 seconds.

    Hi Ashley, can you support us Optimize time boot-app when using Mobile Advert ?

  • I'm afraid the time it takes for Mobile Advert to start up is handled by Google's ad network - it's out of our control.

  • Hi Ashley !

    Just the fact of adding an empty (not configured) Mobile Advert plugin to any sample project increases the initial loading time of the app by 5-8 seconds. It did not happen a year ago.

    Maybe Construct should make the start of the app a priority, and downloading the Mobile Advert plugin (and others) a secondary task that will go when the app has already started?

    Because waiting 8-12 seconds for the app to load due to the Mobile Advert plugin is wrong.

    Every developer has a desire for the fastest possible start. And many optimize projects to reduce loading time and catch seconds. And here the advertising plugin takes 5-8 seconds...

    By the way, I deleted the Mobile Advert plugin precisely because of the long download when I realized that the problem was with it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If I remember correctly, this came up before and it is that it takes a long time if it is incorrectly configured, as it is in fact timing out (and there is no better error message provided by Google's libraries). Perhaps DiegoM remembers some other details.

  • The plugin hasn't received any changes in the loading process in over 2 years.

    Since initialization needs access to remote resources unexpected problems which we can't control can be introduced at any time.

    On top of that the plugin needs to do this on start up, so it can show the consent dialog for GDPR as soon as possible.

  • Ashley & DiegoM I really thank you for your prompt answers!

    In the end, no one is to blame. Everyone is right. Everything is working correctly.

    But the Mobile Advert plugin slows down the app loading very much.

    As a result, the plugin seems to be in Construct, but I deleted it because using it and waiting for an app made on Construct to load for 8-12 seconds is nonsense :)

    P.S. I checked when my app was exported with the Mobile Advert plugin, which opens in 2-3 seconds. It was August 2023. Even now, this app opens almost instantly. I'm dreaming that dialog for GDPR should have waited for 8-12 seconds before app starting :))))

  • Just calm,

    I don't think they know more about Mobile. But have you ever try cordova js code ?

    I try to edit some code cordova project but not thing change (With some help of ChatGPT). The thing is, I thought that code delay start-up in cordova-admob will be help.

  • It's just very sad to hear from the founder of Construct Ashley that he can't do anything to improve the speed of app loading algorithm.

    Because in other engines for app that use exactly the same advertising plugin and the same dialog for GDPR, there is no such long download.

    I didn't think that by deciding to develop apps in Construct (which positions itself as an engine where you don't have to be a programmer) that I will need to get into the code through exporting to the cordova project with some help of ChatGPT.

  • The point I was making before is if correctly configured, it should load quickly. So the problem may be you need to make sure you've configured things correctly.

    IIRC the problem with the long startup is that Google's library simply hangs when incorrectly configured. So we put in a timeout so the app at least starts up in that case. But if you have it correctly configured this situation should not happen.

  • Hi Ashley !

    The Mobile Advert plugin works as a serious download brake anyway whatever I do. No matter how I set up the Mobile Advert plugin.

    Anyway, the download takes from 8 to 12 seconds when launching the APK and from 25 to 60 when clicking on "Preview project". Without this plugin, it takes 2-3 seconds to launch the app.

    I opened the "Space Shooter Template". I clicked "Preview project", the project started in 2 seconds.

    Then I just added the Mobile Advert plugin (without configuring it at all, leaving it in Test Mode), the project started in 28 (!) seconds.

    There are only 6 fields to configure. And since I have ads displayed, I was able to configure the plugin. I changed the "Test mode", "Show on startup", and entered my advertising ID...

    I changed the settings options and tried them all, but in less than 8 seconds the APK app did not start.

    But without this plugin, the app starts almost instantly, in 2-3 seconds. So the problem is in the algorithm of the plugin and its priority before downloading the app.

    You can check it yourself in 1 minute. To do this, open any example project in Construct and check the download of the app without and with this Mobile Advert plugin.

    After that, you'll understand what I mean by a really long download of the app.

    Thanks!

  • I opened the "Space Shooter Template". I clicked "Preview project", the project started in 2 seconds.

    Then I just added the Mobile Advert plugin (without configuring it at all, leaving it in Test Mode), the project started in 28 (!) seconds.

    Hi.

    Just did the same thing, opened the example and added the plugin nothing changed.

    I have not encountered any problems with this plugin.

    Did you look at the console and see what it says? Have you tried clean chrome?

    This is a very strange result.

  • Hi! Try to export to APK and check the time to start app with and without the plugin, not in browser to exclude questions about the browser cache and so on.

    > I opened the "Space Shooter Template". I clicked "Preview project", the project started in 2 seconds.

    >

    > Then I just added the Mobile Advert plugin (without configuring it at all, leaving it in Test Mode), the project started in 28 (!) seconds.

    >

    Hi.

    Just did the same thing, opened the example and added the plugin nothing changed.

    I have not encountered any problems with this plugin.

    Did you look at the console and see what it says? Have you tried clean chrome?

    This is a very strange result.

  • You need to setup Ads and consent messages in the Admob console, you cannot just ad the plugin and export.

    And when you do a preview you do not use Admob, you use Google Ads.

  • Hi! I wrote above:

    There are only 6 fields to configure. And since I have ads displayed, I was able to configure the plugin. I changed the "Test mode", "Show on startup", and entered my advertising ID...

    I changed the settings options and tried them ALL, but in less than 8 seconds the APK app did not start.

    But without this plugin, the app starts almost instantly, in 2-3 seconds. So the problem is in the algorithm of the plugin and its priority before downloading the app.

    You need to setup Ads and consent messages in the Admob console, you cannot just ad the plugin and export.

    And when you do a preview you do not use Admob, you use Google Ads.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)