[
https://issues.apache.org/jira/browse/CB-12626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15954768#comment-15954768
]
ASF GitHub Bot commented on CB-12626:
-------------------------------------
Github user cordova-qa commented on the issue:
https://github.com/apache/cordova-plugin-splashscreen/pull/125
Cordova CI Build has completed successfully.
**Commit** -
[Link](https://github.com/apache/cordova-plugin-splashscreen/pull/125/commits/f6aab146a45e172151fe931436534ba143238ec5)
**Dashboard** -
[Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47/)
| Builder Name | Console Output | Test Report | Device Logs |
| :---: | :---: | :---: | :---: |
| [Windows 10 Store](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=windows-10-store/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=windows-10-store/console)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=windows-10-store/testReport/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=windows-10-store/artifact/)
|
| [iOS 9.3](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=ios-9.3/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=ios-9.3/console)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=ios-9.3/testReport/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=ios-9.3/artifact/)
|
| [iOS 10.0](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=ios-10.0/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=ios-10.0/console)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=ios-10.0/testReport/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=ios-10.0/artifact/)
|
| [Android 4.4](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=android-4.4/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=android-4.4/console)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=android-4.4/testReport/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=android-4.4/artifact/)
|
| [Android 5.1](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=android-5.1/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=android-5.1/console)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=android-5.1/testReport/)
| [Link](
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-splashscreen-pr/47//PLATFORM=android-5.1/artifact/)
|
> Splashscreen crashing on Samsung devices, not rendering on others
> -----------------------------------------------------------------
>
> Key: CB-12626
> URL: https://issues.apache.org/jira/browse/CB-12626
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin SplashScreen
> Environment: Crashing devices:
> - Samsung Galaxy 7 Edge, Android 7.0
> - Samsung Galaxy Note 4, Android 6.0.1
> "Not showing" devices:
> - Lenovo/Zuk Z1, Android 5.1.1
> - Official Android Emulator with Nexus S simulated hardware, API 25
> Reporter: Andrea Lazzarotto
> Labels: android
>
> We tested the plugin on a few Samsung devices and found out that the current
> version of the splash screen plug-in is completely crashing the app, with an
> error given by {{AndroidRuntime}} (including the PID of the app) and a
> warning given by {{ActivityManager}} in the log:
> {{Force finishing activity packagename/.MainActivity}}
> Moreover, we noticed that the splash screen is not showing correctly on some
> devices. The Samsung crash was initially solved by commenting out this line:
> {{preferences.set("SplashDrawableId", drawableId);}}
> Basically, this means that storing the {{drawableId}} in the preferences is
> not reliable. This didn't solve the display issue on other devices, which
> required refactoring the code that reads the resource ID.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]