1 Reply Latest reply on Dec 12, 2016 11:26 AM by ebhoren

    Application restart instead of resuming on iOS 10

    ebhoren Level 1

      When i hit the Home button on my actual iOS 10.1.1 device, and then resume it, the application restart from the beginning instead of resuming correctly.

      I've tested this feature on iOS 9 and it work correctly.

       

      My application is running on phonegap 6.3.4

      App compilation is made by Phonegap Build.

       

      Any ideas on how to solve this problem?

      Thanks

        • 1. Re: Application restart instead of resuming on iOS 10
          ebhoren Level 1

          I've found that the problem was caused by cordova-plugin-splashscreen.

          It didn't like the fact that i've been manually hiding the splashscreen using navigator.splashscreen.hide();

          I solve my problem by using this in my config.xml:

           

          <preference name="AutoHideSplashScreen" value="true" />

              <preference name="SplashScreenDelay" value="0" />

              <preference name="FadeSplashScreen" value="false" />

              <preference name="FadeSplashScreenDuration" value="0"/>

              <preference name="ShowSplashScreenSpinner" value="false"/>

           

          Hope it will help someone else

          1 person found this helpful