Cant get custom splash screen

Hi I have enterprise and I am building for android using the Corona Simulator but I am not getting custom splash screens. I have added the following code to my build.settings with no effect.

 splashScreen = { enable = true, image = "Default-Landscape.png" },

How do I get the custom splash screen building with corona simulator?

Enterprise customers don’t get splash screen plugin for free “I believe”. I think corona expects your to build though Xcode or android to get rid of the splash screen

Enterprise customers get the splash screen controls even for Simulator builds included in their subscription.

@gains are you getting the Corona splash screen or none at all?

Rob

As I see in documentation, for Enterprise, for Android devices, all what is needed is to add _corona_splash_screen.png into drawable folder, and it works for me.

 

but in my case when Proguard is enabled (even with shrinking only and without obfuscation) it stop working !!

Proguard works by obfuscating the Java code. While this will somewhat protect your Java code, it renames symbols and when it does it breaks Java reflection and we can’t load java classes because we can’t find them any more.  There may be other issues from using Proguard since we can’t talk back to Java in a normal way.

Rob

Thanks @Rob,

I am using Proguard to shrink number of API references, to go below the 64K limit. As I said I disabled the obfuscation, I just want to remove unused API calls, 

and offcourse for all Corona related libraries, I’ve added the proper “keep” lines in Proguard config.

I did some tests,  App functionality looks good, the only issue that I can find so far is the SplashScreen issue.

so is Proguard not recommended by Corona?

the only solution then is Multidexing support, but I see in the net many warnings from using it.

can you please assist? this is very limiting,

Thank you

Multdex is enabled automatically so you shouldn’t hit the 64K limit any longer. We don’t recommend ProGuard.

Rob

Solved it by upgrading to the latest daily build.

Enterprise customers don’t get splash screen plugin for free “I believe”. I think corona expects your to build though Xcode or android to get rid of the splash screen

Enterprise customers get the splash screen controls even for Simulator builds included in their subscription.

@gains are you getting the Corona splash screen or none at all?

Rob

As I see in documentation, for Enterprise, for Android devices, all what is needed is to add _corona_splash_screen.png into drawable folder, and it works for me.

 

but in my case when Proguard is enabled (even with shrinking only and without obfuscation) it stop working !!

Proguard works by obfuscating the Java code. While this will somewhat protect your Java code, it renames symbols and when it does it breaks Java reflection and we can’t load java classes because we can’t find them any more.  There may be other issues from using Proguard since we can’t talk back to Java in a normal way.

Rob

Thanks @Rob,

I am using Proguard to shrink number of API references, to go below the 64K limit. As I said I disabled the obfuscation, I just want to remove unused API calls, 

and offcourse for all Corona related libraries, I’ve added the proper “keep” lines in Proguard config.

I did some tests,  App functionality looks good, the only issue that I can find so far is the SplashScreen issue.

so is Proguard not recommended by Corona?

the only solution then is Multidexing support, but I see in the net many warnings from using it.

can you please assist? this is very limiting,

Thank you

Multdex is enabled automatically so you shouldn’t hit the 64K limit any longer. We don’t recommend ProGuard.

Rob

Solved it by upgrading to the latest daily build.