You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jfoclpf (via GitHub)" <gi...@apache.org> on 2023/06/08 23:46:03 UTC

[GitHub] [cordova-plugin-splashscreen] jfoclpf opened a new issue, #345: Disable Splash Screen on reboot

jfoclpf opened a new issue, #345:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/345

   Sometimes APP reboots on devices with low memory RAM, particularly using the Camera plugin.
   
   I can recover the useful information with `document.addEventListener('resume')` but is it possible to deactivate Splash Screen on these circumstances, that is, show Splash Screen really just on the first start up?
   
   I have `<preference name="SplashShowOnlyFirstTime" value="true" />` on config.xml but it doesn't work


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-splashscreen] breautek closed issue #345: Disable Splash Screen on reboot

Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek closed issue #345: Disable Splash Screen on reboot
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/345


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-splashscreen] breautek commented on issue #345: Disable Splash Screen on reboot

Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek commented on issue #345:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/345#issuecomment-1583655168

   `SplashShowOnlyFirstTime` is not a valid preference for this plugin, which only supports the `browser` platform now.
   
   I believe `SplashShowOnlyFirstTime` used to be a preference, but now that Android has it's own splashscreen system, cordova-android uses that instead of crafting its own. Partly because Android's splashscreen will display regardless if you provide your own or not.
   
   [Android's splashscreen](https://developer.android.com/develop/ui/views/launch/splash-screen) system will always be displayed in two situations:
   
   >When a user launches an app while the app's process isn't running (a [cold start](https://developer.android.com/topic/performance/vitals/launch-time#cold)) or the Activity isn't created (a [warm start](https://developer.android.com/topic/performance/vitals/launch-time#warm)), the following events occur:
   >
   >The system shows the splash screen using themes and any animations that you define.
   >
   >When the app is ready, the splash screen is dismissed and the app displays.
   >
   >The splash screen never shows during a [hot start](https://developer.android.com/topic/performance/vitals/launch-time#hot).
   
   Unfortunately when it comes to the camera, it may kill your app's activity, so when it returns to the app, it does what they call a warm start. And this is not something we can control.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-splashscreen] jfoclpf commented on issue #345: Disable Splash Screen on reboot

Posted by "jfoclpf (via GitHub)" <gi...@apache.org>.
jfoclpf commented on issue #345:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/345#issuecomment-1583664773

   Thank you for the information
   
   On Fri, 9 Jun 2023, 01:15 Norman Breau, ***@***.***> wrote:
   
   > Closed #345
   > <https://github.com/apache/cordova-plugin-splashscreen/issues/345> as not
   > planned.
   >
   > —
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/cordova-plugin-splashscreen/issues/345#event-9478398942>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AA6M4DN7X2YWT2673QULPHLXKJTLNANCNFSM6AAAAAAY75ZV2Q>
   > .
   > You are receiving this because you authored the thread.Message ID:
   > <apache/cordova-plugin-splashscreen/issue/345/issue_event/9478398942@
   > github.com>
   >
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org