ToniKorin / cordova-plugin-autostart

This Cordova plugin will start automatically your app after the every boot or the auto-update of your application. You can enable or disable the autostart function in your app.
https://github.com/ToniKorin/cordova-plugin-autostart
Apache License 2.0
108 stars 77 forks source link

Long time until start #14

Closed andersborgabiro closed 8 years ago

andersborgabiro commented 8 years ago

Maybe a feature more than a bug: It takes 40 seconds after the device is ready before the app is started. Can this be controlled?

Cheers, Anders

ToniKorin commented 8 years ago

The starting is triggered by android events "BOOT_COMPLETED" (or "USER_PRESENT" if the device is locked after the boot) and then your app is immediately launched. I think it is not possible to speed it up.

andersborgabiro commented 8 years ago

OK. At least it's an explanation :).

Thanks, Anders

FrancescoMussi commented 5 years ago

Also for me it is very slow. On a Samsung J5 with Android 7.1.1. it takes around 2'22'' On a Samsung Tablet wiht Android 7.0 it takes around 40'

Still no way to speed it up? Maybe it depends by the number of apps installed?