You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/07 20:36:18 UTC

[jira] [Commented] (CB-12626) Splashscreen crashing on Samsung devices, not rendering on others

    [ https://issues.apache.org/jira/browse/CB-12626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16041568#comment-16041568 ] 

ASF GitHub Bot commented on CB-12626:
-------------------------------------

Github user karlachavez commented on the issue:

    https://github.com/apache/cordova-plugin-splashscreen/pull/125
  
    We can reproduce this issue on a Samsung S6 with the following tech specs:
    http://www.samsung.com/ca/business/business-products/smartphones/smartphones/SM-G920WZWABMC
    
    Due to it, we have to remove the splashscreen of our app.
    
    It's important to mention that the issue is presents since the device was updated from Android 6 to Android 7. 
    
    Do someone know when the fix proposed is going to be applied?


> 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: cordova-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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org