[ALOY-1508] iOS: Localised splash screen is not visible
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-07-05T02:55:14.000+0000 |
Affected Version/s | Release 5.2.2 |
Fix Version/s | Release 5.4.0, alloy 1.9.1 |
Components | Tooling |
Labels | n/a |
Reporter | Jebun Naher |
Assignee | Feon Sua Xin Miao |
Created | 2016-06-02T11:26:12.000+0000 |
Updated | 2016-11-28T17:06:33.000+0000 |
Description
When I add the splash screen in the "app/i18n/en/" path I am not able to see the splash screen. I get black screen. *Steps to reproduce:* 1. Create an alloy project 2. Place a splash screen image In app/i18n/en/ folder 3. Run the app on simulator *Expected:* Splash screen should be visible when the app launches. *Actual:* A black screen is shown instead of splash screen image. Reference: http://docs.appcelerator.com/platform/latest/#!/guide/Icons_and_Splash_Screens-section-29004897_IconsandSplashScreens-LocalizedSplashScreensComments
- Chee Kiat Ng 2016-06-03
This is most likely caused by this element in tiapp.xml
Is
<enable-launch-screen-storyboard>
set to false? see here for more details: http://docs.appcelerator.com/platform/latest/#!/guide/iOS_Launch_Files - Motiur Rahman 2016-06-10 [~cng], On Alloy project, I have tried with 5.3.0.GA version and earlier version it does not work . But on classic project splash screen works as expected for localization.
- Chee Kiat Ng 2016-06-12 thanks [~morahman] that helps!
- Chee Kiat Ng 2016-06-24
[~morahman] [~jnaher] Can you try this too?
set in tiapp.xml:
<ios> <enable-launch-screen-storyboard>false</enable-launch-screen-storyboard> <use-app-thinning>false</use-app-thinning>
- Feon Sua Xin Miao 2016-06-29
PR: https://github.com/appcelerator/alloy/pull/792
*Functional Test*
1. Create an alloy project
2. Place splash screen images under
app/i18n/en
andapp/i18n/es
folder respectively 3. Undertiapp.xml
, ensure following arefalse
4. Make sure there are no splash screen image under<ios> <enable-launch-screen-storyboard>false</enable-launch-screen-storyboard> <use-app-thinning>false</use-app-thinning>
app/assets/iphone
5. Run the app, depending on the simulator's language setting you should see the correct splash screen image. - Chee Kiat Ng 2016-07-05 CR and FT passed. PR merged.
- Harry Bryant 2016-07-28
Verified as fixed, localised splash screens are now visible. Created two different splash screens under
app/i18n/en
/app/i18n/es
. Switching Language and region from English to Spanish will use the appropriate splash screen. *Note that for the splash screen to update on device, be sure to remove the app before rebuilding.* Tested On: iPhone 6S (9.3.2) Device Mac OSX El Capitan 10.11.5 Ti SDK: 5.4.0.v20160727143921 Appc Studio: 4.7.0.201607111053 Appc NPM: 4.2.7 App CLI: 5.4.0-34 Xcode 7.3 Node v4.4.7 *Closing ticket.* - Motiur Rahman 2016-08-27 [~fmiao], That's good work but I have a question regarding this. Depending on the simulator's or device language setting I can see the correct splash screen image. But if I change the device language after installing the App, the splash is not changed with the corresponding language folder. What do you think about that? Thanks.
- Feon Sua Xin Miao 2016-08-29 [~morahman], that looks like an issue with classic projects.
- Feon Sua Xin Miao 2016-08-29 [~cng] This only happens to localized splash image. Localized strings are updated with language switch.
- Chee Kiat Ng 2016-08-29 [~morahman][~rmitro] create a different ticket for that then.