cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Shakhnazarov <dase...@apache.org>
Subject CB-11602: (android) Adds onRestart event support
Date Thu, 12 Jan 2017 09:09:39 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message