Add Cordova splashscreen (close #18)

master
Skylar Ittner 5 years ago
parent 78233a9f03
commit 7dbf55e60f

1
.gitignore vendored

@ -5,3 +5,4 @@
/node_modules /node_modules
/www/node_modules /www/node_modules
nbproject/private nbproject/private
.directory

@ -15,6 +15,9 @@
<allow-intent href="sms:*"/> <allow-intent href="sms:*"/>
<allow-intent href="mailto:*"/> <allow-intent href="mailto:*"/>
<allow-intent href="geo:*"/> <allow-intent href="geo:*"/>
<preference name="ShowSplashScreenSpinner" value="false"/>
<platform name="android"> <platform name="android">
<preference name="HeaderColor" value="#324150"/> <preference name="HeaderColor" value="#324150"/>
<preference name="StatusBarBackgroundColor" value=""/> <preference name="StatusBarBackgroundColor" value=""/>
@ -26,6 +29,20 @@
<icon background="res/android/mipmap-xxhdpi/ic_launcher_background.png" density="xxhdpi" foreground="res/android/mipmap-xxhdpi/ic_launcher_foreground.png" src="res/android/mipmap-xxhdpi/ic_launcher.png" /> <icon background="res/android/mipmap-xxhdpi/ic_launcher_background.png" density="xxhdpi" foreground="res/android/mipmap-xxhdpi/ic_launcher_foreground.png" src="res/android/mipmap-xxhdpi/ic_launcher.png" />
<icon background="res/android/mipmap-xxxhdpi/ic_launcher_background.png" density="xxxhdpi" foreground="res/android/mipmap-xxxhdpi/ic_launcher_foreground.png" src="res/android/mipmap-xxxhdpi/ic_launcher.png" /> <icon background="res/android/mipmap-xxxhdpi/ic_launcher_background.png" density="xxxhdpi" foreground="res/android/mipmap-xxxhdpi/ic_launcher_foreground.png" src="res/android/mipmap-xxxhdpi/ic_launcher.png" />
<splash src="res/android/drawable-land-hdpi/screen.png" density="land-hdpi"/>
<splash src="res/android/drawable-land-ldpi/screen.png" density="land-ldpi"/>
<splash src="res/android/drawable-land-mdpi/screen.png" density="land-mdpi"/>
<splash src="res/android/drawable-land-xhdpi/screen.png" density="land-xhdpi"/>
<splash src="res/android/drawable-land-xxhdpi/screen.png" density="land-xxhdpi"/>
<splash src="res/android/drawable-land-xxxhdpi/screen.png" density="land-xxxhdpi"/>
<splash src="res/android/drawable-port-hdpi/screen.png" density="port-hdpi"/>
<splash src="res/android/drawable-port-ldpi/screen.png" density="port-ldpi"/>
<splash src="res/android/drawable-port-mdpi/screen.png" density="port-mdpi"/>
<splash src="res/android/drawable-port-xhdpi/screen.png" density="port-xhdpi"/>
<splash src="res/android/drawable-port-xxhdpi/screen.png" density="port-xxhdpi"/>
<splash src="res/android/drawable-port-xxxhdpi/screen.png" density="port-xxxhdpi"/>
<hook type="after_prepare" src="scripts/clean_node_modules.sh" /> <hook type="after_prepare" src="scripts/clean_node_modules.sh" />
</platform> </platform>

@ -18,12 +18,13 @@
"cordova-plugin-geolocation": "^4.0.1", "cordova-plugin-geolocation": "^4.0.1",
"cordova-plugin-headercolor": "^1.0.0", "cordova-plugin-headercolor": "^1.0.0",
"cordova-plugin-inappbrowser": "^3.0.0", "cordova-plugin-inappbrowser": "^3.0.0",
"cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-statusbar": "^2.4.2", "cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-transparent-status-bar": "git+https://github.com/manugando/cordova-plugin-transparent-status-bar.git", "cordova-plugin-transparent-status-bar": "git+https://github.com/manugando/cordova-plugin-transparent-status-bar.git",
"cordova-plugin-whitelist": "^1.3.3", "cordova-plugin-whitelist": "^1.3.3",
"phonegap-plugin-barcodescanner": "^8.0.1",
"mls": "^0.1.1", "mls": "^0.1.1",
"node-wifiscanner": "^0.2.1" "node-wifiscanner": "^0.2.1",
"phonegap-plugin-barcodescanner": "^8.0.1"
}, },
"cordova": { "cordova": {
"plugins": { "plugins": {
@ -36,10 +37,11 @@
"cordova-plugin-app-version": {}, "cordova-plugin-app-version": {},
"cordova-plugin-inappbrowser": {}, "cordova-plugin-inappbrowser": {},
"cordova-plugin-transparent-status-bar": {}, "cordova-plugin-transparent-status-bar": {},
"cordova-plugin-geolocation": {} "cordova-plugin-geolocation": {},
"cordova-plugin-splashscreen": {}
}, },
"platforms": [ "platforms": [
"android" "android"
] ]
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 513 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1001 KiB

Loading…
Cancel
Save