Companion app splashscreen on Android takes about 30 seconds

6 posts, 1 answers
  1. Jandieg
    Jandieg avatar
    43 posts
    Member since:
    Feb 2012

    Posted 05 Jan 2015 Link to this post

    Launching AppBuilder companion app on Android stays at "TelerikAppbuilder" splashscreen for 30 seconds. Same app on Windows Phone no issues.
  2. Lyubomir
    Admin
    Lyubomir avatar
    4 posts

    Posted 07 Jan 2015 Link to this post

    Hi Jandieg,

    Can you please also share the following information:
    • Do you refer to the stock AppBuilder companion app downloaded from the market, with no livesync to any project?
    • What is the make and the model of the Android phone, and which Android version it is?
    • Is the phone's network connected to internet?
    Thank you in advance for your response.

    Regards,
    Lyubomir
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  3. Jandieg
    Jandieg avatar
    43 posts
    Member since:
    Feb 2012

    Posted 08 Jan 2015 in reply to Lyubomir Link to this post

    Yes the one from the Play Store, with livesync to a VS project.
    Phone is connected to internet. It's a Galaxy Grand Prime.
  4. Answer
    Lyubomir
    Admin
    Lyubomir avatar
    4 posts

    Posted 09 Jan 2015 Link to this post

    Hello Jandieg,

    Please verify that you have the following method call to hide the splashscreen in method onDeviceReady your javascript code:

    function onDeviceReady() {
    // you code here ...

    // Hide the splash screen
    navigator.splashscreen.hide();
    }


    If the method hide() is not present, the splashscreen will be shown for 30 seconds.

    Regards,
    Lyubomir
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  5. Jandieg
    Jandieg avatar
    43 posts
    Member since:
    Feb 2012

    Posted 10 Jan 2015 in reply to Lyubomir Link to this post

    Strange... other devices didn't need that. Any reason?
  6. Lyubomir
    Admin
    Lyubomir avatar
    4 posts

    Posted 12 Jan 2015 Link to this post

    Hello Jandieg,

    In Android by default the SplashScreen plugin is displayed for 3000 ms as noted in its documentation. This means that you can either add a preference to change that value or use the hide() method as soon as deviceready fires to close the splash screen.

    All our samples invoke the SplashScreen hide() method in the onDeviceReady definition. This ensures that the splash screen is closed at the same time in all platforms and devices the app runs on.

    Regards,
    Lyubomir
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top