You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "James Jong (JIRA)" <ji...@apache.org> on 2013/04/30 17:06:16 UTC

[jira] [Commented] (CB-2846) SplashScreen plugin crashes app if the screen image is not available

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

James Jong commented on CB-2846:
--------------------------------

Patched here:
https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=bbf78ac83fd920c59e5a393942933e7e2eabb6de
                
> SplashScreen plugin crashes app if the screen image is not available
> --------------------------------------------------------------------
>
>                 Key: CB-2846
>                 URL: https://issues.apache.org/jira/browse/CB-2846
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.5.0
>            Reporter: Ian Clelland
>            Assignee: James Jong
>            Priority: Minor
>             Fix For: 2.7.0
>
>
> If the computed splashscreen image is not available when the CDVSplashScreen plugin runs, {{updateBounds}} will be called when {{_imageView.img}} is nil, and the application will crash with a SIGABRT.
> It would be nicer to log an error message, and then proceed without the splash screen.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira