Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1508] iOS: Localised splash screen is not visible

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-07-05T02:55:14.000+0000
Affected Version/sRelease 5.2.2
Fix Version/sRelease 5.4.0, alloy 1.9.1
ComponentsTooling
Labelsn/a
ReporterJebun Naher
AssigneeFeon Sua Xin Miao
Created2016-06-02T11:26:12.000+0000
Updated2016-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-LocalizedSplashScreens

Comments

  1. 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
  2. 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.
  3. Chee Kiat Ng 2016-06-12

    thanks [~morahman] that helps!
  4. 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>
       
       
  5. 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 and app/i18n/es folder respectively 3. Under tiapp.xml, ensure following are false
       <ios>
           <enable-launch-screen-storyboard>false</enable-launch-screen-storyboard>
           <use-app-thinning>false</use-app-thinning>
       
    4. Make sure there are no splash screen image under app/assets/iphone 5. Run the app, depending on the simulator's language setting you should see the correct splash screen image.
  6. Chee Kiat Ng 2016-07-05

    CR and FT passed. PR merged.
  7. 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.*
  8. 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.
  9. Feon Sua Xin Miao 2016-08-29

    [~morahman], that looks like an issue with classic projects.
  10. Feon Sua Xin Miao 2016-08-29

    [~cng] This only happens to localized splash image. Localized strings are updated with language switch.
  11. Chee Kiat Ng 2016-08-29

    [~morahman][~rmitro] create a different ticket for that then.

JSON Source