[ 
https://issues.apache.org/jira/browse/CB-9913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Shakhnazarov resolved CB-9913.
-------------------------------------
    Resolution: Fixed

Fixed in CB-10263

> [iOS] SplashScreen AutoHideSplashScreen can't find file on some iPhone models
> -----------------------------------------------------------------------------
>
>                 Key: CB-9913
>                 URL: https://issues.apache.org/jira/browse/CB-9913
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin SplashScreen
>    Affects Versions: Master
>         Environment: {code}
> node -v
> v0.10.40
> npm ls -g --depth 0
> /Users/sk/.nvm/v0.10.40/lib
> ├── [email protected] -> /Users/sk/cache/cordova/cordova-cli
> ├── [email protected] -> 
> /Users/sk/cache/cordova/cordova-lib/cordova-common
> ├── [email protected] -> /Users/sk/cache/cordova/cordova-lib/cordova-lib
> ├── [email protected]
> ├── [email protected]
> └── [email protected] -> /Users/sk/cache/cordova/cordova-plugman
> cd ~/cache/cordova/cordova-cli
> git log | head -n 1
> commit b53810ee754bd4a44591388473355efda0aa8653
> cd ../cordova-lib/
> git log | head -n 1
> commit b45bc1c80b239040b91da25e2f12e759fc52c31d
> cd ../cordova-plugman/
> git log | head -n 1
> commit 2a4ff6e21de715ea8f6f6e5e024647ee1b557738
> {code}
>            Reporter: Seth W. Klein
>
> {code}
> cordova create cordova-splash-no-auto-bug com.example.SplashBug SplashBug
> cd cordova-splash-no-auto-bug/
> cordova plugin add 
> https://github.com/apache/cordova-plugin-splashscreen.git#master
> cordova platform add https://github.com/apache/cordova-ios.git#master
> cordova emulate ios
> # add to config.xml
> # <preference name="AutoHideSplashScreen" value="false" />
> cordova emulate ios --target iPhone-6
> # observe that splash screen hides and app becomes visible.
> # expected splash screen to remain hiding app due to AutoHideSplashScreen 
> being false.
> cordova emulate ios --target iPhone-5
> # observe expected behavior
> open platforms/ios/SplashBug.xcodeproj
> # run in iPhone-6 in XCode and observe error in console:
> 2015-10-28 00:20:38.029 SplashBug[40245:3789224] WARNING: The splashscreen 
> image named LaunchImage-667h was not found
> # observe that XCode sees SplashBug/Resources/Images.xcassets/LaunchImage 
> Retina HD 4.7, named Default-667h.png, and sized at 750 x 1334, matching the 
> expected size
> find . -name '*667h*'
> ./platforms/ios/build/emulator/SplashBug.app/[email protected]
> ./platforms/ios/SplashBug/Images.xcassets/LaunchImage.launchimage/Default-667h.png
> a similar but more complex situation is visible with iPhone 6s Plus
> [email protected]
> [email protected]
> something that might work:
> https://github.com/sethwklein/cordova-plugin-splashscreen/commit/d44868a77fc8bb6e3a9435d84bb3dd97f1f85ae0
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to