Hi guys,

I've investigated the CB-11602 Splashscreen plugin receives onPause and
hides [1] and realized that the splashscreen plugin currently doesn't
handle onStop->onRestart [2] events properly.
The reason is that we don't have the onRestart event in cordova-android so
I propose to add it [3] and update the splash screen plugin code
accordingly to handle this pause-resume events correctly [4] (i.e.
save/restore the splashscreen state on app switch/device lock).
Please take a look.

[1]: https://issues.apache.org/jira/browse/CB-11602
[2]:
https://developer.android.com/reference/android/app/Activity.html#onRestart()
[3]: https://github.com/apache/cordova-android/pull/353/files
[4]: https://github.com/apache/cordova-plugin-splashscreen/pull/120/files

Best regards,
Sergey Shakhnazarov,
Akvelon developer.

Reply via email to