Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

SplashScreen Plugin not working on Android.
Started by moycg77 Sep 09 2019 02:04 PM

1 reply to this topic
splashscreen plugin android
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

moycg77

[GLOBAL: userInfoPane.html]
moycg77
  • Observer

  • 7 posts
  • Corona SDK

Crona SDK: 2019.3520

OS: Windows 10

Build: Android

 

Issue: When opening the application on the device there is only a black screen before the app starts my custom splash screen is not present, when building on IOS device works fine the splash screen image loads correctly.

 

Plugin: I made sure that the plugin is activated here https://marketplace.coronalabs.com/corona-plugins/splash-screen-control and the same email that I used to purchased is the same used to login to corona when building the app.

 

Code:

settings={
...
splashScreen = {
        enable = true,
        image = "images/splashScreen.png"
    },
...
}

Debugging:

After running "adb logcat Corona:v *:s" I get the following log, I don't see any issues wiht the splash screen, seems like is just not loading the image.

09-09 15:10:39.536 10578 10608 V Corona  : > Class.forName: network.LuaLoader09-09 15:10:39.538 10578 10608 V Corona  : < Class.forName: network.LuaLoader
09-09 15:10:39.539 10578 10608 V Corona  : Loading via reflection: network.LuaLoader
09-09 15:10:39.545 10578 10608 I Corona  : Platform: Pixel 3a XL / Unknown / 10 / Adreno (TM) 615 / OpenGL ES 3.2 V@384.0 (GIT@4a00b69, I4e7e888065) (Date:04/09/19) / 2019.3520 / English | US | en_US | en
09-09 15:10:39.555 10578 10608 V Corona  : > Class.forName: shared.google.play.services.base.LuaLoader
09-09 15:10:39.557 10578 10608 V Corona  : < Class.forName: shared.google.play.services.base.LuaLoader
09-09 15:10:39.557 10578 10608 V Corona  : Loading via reflection: shared.google.play.services.base.LuaLoader
09-09 15:10:39.568 10578 10608 V Corona  : > Class.forName: _CoronaSetup.LuaLoader
09-09 15:10:39.584 10578 10608 V Corona  : > Class.forName: CoronaProvider.licensing.google.LuaLoader
09-09 15:10:39.584 10578 10608 V Corona  : < Class.forName: CoronaProvider.licensing.google.LuaLoader
09-09 15:10:39.588 10578 10608 V Corona  : Loading via reflection: CoronaProvider.licensing.google.LuaLoader
09-09 15:10:39.597 10578 10608 I Corona  : Could not connect to localhost:8172: connection refused
09-09 15:10:39.598 10578 10608 V Corona  : > Class.forName: plugin.appodeal.LuaLoader
09-09 15:10:39.604 10578 10608 V Corona  : < Class.forName: plugin.appodeal.LuaLoader
09-09 15:10:39.604 10578 10608 V Corona  : Loading via reflection: plugin.appodeal.LuaLoader
09-09 15:10:39.607 10578 10608 I Corona  : plugin.appodeal: 1.6.5b (SDK: 2.5.3)


[TOPIC: post.html]
#2

moycg77

[GLOBAL: userInfoPane.html]
moycg77
  • Observer

  • 7 posts
  • Corona SDK

After trying different approaches I got it working as long as the SplashScreen image is in root folder works fine e.g

settings={
...
splashScreen = {
        enable = true,
        image = "splashScreen.png"
    },
...
}

I just want to mention that this was working fine with Crona SDK: 2018.3326 also as mentioned above on IOS  works fine even when the image is in a folder.




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: splashscreen plugin, android