Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Trusted Contributor
Magnetic_dud
Posts: 116
Registered: ‎03-06-2012
My Device: Z10
My Carrier: 3 Italia

Wrong splashscreen is shown in signed version

This weekend I made an app with cascades 1.2, I set up three splash screens for the three screen resolution + 2 language variants.

In my test version with debug token it was working as expected.

On a Z10 I got the Z10 splash screen, on a Q10, I got the Q10 splash screen, and so on

 

I signed it, I set to BlackBerry World. This morning it was approved, and I downloaded it on my Z10.

But, the english Q10 splash screen is shown (my locale is italian)

 

Why?

 

details of the bar-descriptor.xml:

 

<splashScreens>
<image>splash-1280x720.png</image>
<image>splash-1280x768.png</image>
<image>splash-720x720.png</image>
<image>
<text xml:lang="it">splash-1280x720-it.png</text>
</image>
<image>
<text xml:lang="it">splash-1280x768-it.png</text>
</image>
<image>
<text xml:lang="it">splash-720x720-it.png</text>
</image>
</splashScreens>

 and

 

<asset path="assets/images/icon.png">icon.png</asset>
<asset path="assets/images/splash-1280x720.png">splash-1280x720.png</asset>
<asset path="assets/images/splash-1280x768.png">splash-1280x768.png</asset>
<asset path="assets/images/splash-720x720.png">splash-720x720.png</asset>
<asset path="assets/images/splash-1280x720-it.png">splash-1280x720-it.png</asset>
<asset path="assets/images/splash-1280x768-it.png">splash-1280x768-it.png</asset>
<asset path="assets/images/splash-720x720-it.png">splash-720x720-it.png</asset>

 

Please use plain text.
Retired
PBernhardt
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Wrong splashscreen is shown in signed version

Do you see all the splash screens in the bar file if you open it up?

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Please use plain text.
Developer
greenmr
Posts: 875
Registered: ‎03-20-2013
My Device: Red LE Developer Z10
My Carrier: Fido

Re: Wrong splashscreen is shown in signed version

This is why I ALWAYS sideload signed releases onto my device for final testing before submitting them to BB World.

 

This doesn't solve your language/locale specific issue, but I wanted to point out that you usually need five splash screens, not just three, since you should also have landscape versions of 1280x768 and 1280x720 (assuming your app allows landscape mode).

 

From my review of the Localization docs you may need to explicitly specify each locale in the bar-descriptor.xml file. The is nothing I can spot in the documentation that states (or implies) that you can have a "default" locale. I suspect the splash screens you specify without a locale just override everything that follows.


Magnetic_dud wrote:

This weekend I made an app with cascades 1.2, I set up three splash screens for the three screen resolution + 2 language variants.

In my test version with debug token it was working as expected.

On a Z10 I got the Z10 splash screen, on a Q10, I got the Q10 splash screen, and so on

 

I signed it, I set to BlackBerry World. This morning it was approved, and I downloaded it on my Z10.

But, the english Q10 splash screen is shown (my locale is italian)

 

Why?

 

details of the bar-descriptor.xml:

 

<splashScreens>
<image>splash-1280x720.png</image>
<image>splash-1280x768.png</image>
<image>splash-720x720.png</image>
<image>
<text xml:lang="it">splash-1280x720-it.png</text>
</image>
<image>
<text xml:lang="it">splash-1280x768-it.png</text>
</image>
<image>
<text xml:lang="it">splash-720x720-it.png</text>
</image>
</splashScreens>

 and

 

<asset path="assets/images/icon.png">icon.png</asset>
<asset path="assets/images/splash-1280x720.png">splash-1280x720.png</asset>
<asset path="assets/images/splash-1280x768.png">splash-1280x768.png</asset>
<asset path="assets/images/splash-720x720.png">splash-720x720.png</asset>
<asset path="assets/images/splash-1280x720-it.png">splash-1280x720-it.png</asset>
<asset path="assets/images/splash-1280x768-it.png">splash-1280x768-it.png</asset>
<asset path="assets/images/splash-720x720-it.png">splash-720x720-it.png</asset>

 






Developer of Built for BlackBerry certified multiFEED RSS/Atom feed reader and aggregator.
Please use plain text.
Trusted Contributor
Magnetic_dud
Posts: 116
Registered: ‎03-06-2012
My Device: Z10
My Carrier: 3 Italia

Re: Wrong splashscreen is shown in signed version

Inside the signed bar I can see all the splashscreens

 

yes.png

Did I place them in the wrong directory?

Please use plain text.
Retired
PBernhardt
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Wrong splashscreen is shown in signed version

That might be it, try putting them in the root folder.

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Please use plain text.