- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After updating to XDK 2807 there seems to be an issue with the splash screen for Android (haven't tested iOS yet). It was working before, and my config files seem correct - the splash screens images are selected under Lauch Icons and Splash Screens properly. Not sure what to do about this. I start my app and it just skips a splash screen altogether. Tried playing with the timing settings for the splash screen to no effect. Tried multiple builds with different splash screens set for each.
android xml config related to splash:
<splash platform="android" src="images/splashscreen_320x426.png" density="ldpi" width="320" height="426" orientation="portrait"/>
<splash platform="android" src="images/splashscreen_320x470.png" density="mdpi" width="320" height="470" orientation="portrait"/>
<splash platform="android" src="images/splashscreen_480x640.png" density="hdpi" width="480" height="640" orientation="portrait"/>
<splash platform="android" src="images/splashscreen_720x960.png" density="xhdpi" width="720" height="960" orientation="portrait"/>
<intelxdk:plugin intelxdk:name="Splashscreen" intelxdk:value="org.apache.cordova.splashscreen" intelxdk:version="0.3.5" intelxdk:checksum="ae76b446" intelxdk:type="file"/>
<preference name="splashscreen" value="splash"/>
<preference name="SplashScreenDelay" value="8000"/>
xdk config file related to splash:
"cordovaPlugins": [
{
"id": "org.apache.cordova.splashscreen",
"name": "Splashscreen",
"version": "0.3.5",
"originType": "cordova.io",
"origin": "org.apache.cordova.splashscreen",
"gitref": "",
"paramvals": {},
"sourceLocation": "plugins/org.apache.cordova.splashscreen",
"selectedState": "Included",
"checksum": "ae76b446",
"dependsOn": [],
"topLevel": true,
"permissions": {},
"description": "Cordova Splashscreen Plugin",
"data": {},
"dependedBy": []
}
],
"serviceMethods": [],
"buildConfigurations": {
"Android": {
"platform_": "android",
"runtime_": "Cordova 3.x",
"name_": "Android",
"preferences_": {
"android-minSdkVersion": "14",
"android-targetSdkVersion": "19",
"android-installLocation": "internalOnly",
"android-signed": true
},
"isActive_": true,
"appName_": "app",
"appID_": "com.app.alpha",
"appAccess_": {
"mode": "legacy",
"network": [
"*"
],
"intents": [],
"navigation": []
},
"splashes_": [
{
"relPath": "images/splashscreen_320x426.png",
"density": "ldpi",
"height": 426,
"width": 320,
"orientation": "portrait"
},
{
"relPath": "images/splashscreen_426x320.png",
"density": "ldpi",
"height": 320,
"width": 426,
"orientation": "landscape"
},
{
"relPath": "images/splashscreen_320x470.png",
"density": "mdpi",
"height": 470,
"width": 320,
"orientation": "portrait"
},
{
"relPath": "images/splashscreen_480x640.png",
"density": "hdpi",
"height": 640,
"width": 480,
"orientation": "portrait"
},
{
"relPath": "images/splashscreen_720x960.png",
"density": "xhdpi",
"height": 960,
"width": 720,
"orientation": "portrait"
}
],
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try making a splash screen work with the blank Cordova template, first, so you can confirm that it works for you. Then you can compare to see what is different between that and your app.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I figured out the issue, for some reason my splash screen plugin version changed from 2.1.0 to 0.3.5. Changed back and it worked again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks you X!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
X wrote:
I figured out the issue, for some reason my splash screen plugin version changed from 2.1.0 to 0.3.5. Changed back and it worked again.
WHERE TO PERFOM THIS, AM HAVING HEADACHE FOR THIS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okiki Continental .. wrote:
WHERE TO PERFOM THIS, AM HAVING HEADACHE FOR THIS
When you change the CLI version it will prompt you to update your core Cordova plugin versions, to match the version of CLI. Try changing to a different version of CLI and then back to the version of CLI you want to use. Select the "upgrade/downgrade CLI and plugins" button when you implement the change.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page