Add Cordova splashscreen (close #18)
1
.gitignore
vendored
@ -5,3 +5,4 @@
|
||||
/node_modules
|
||||
/www/node_modules
|
||||
nbproject/private
|
||||
.directory
|
17
config.xml
@ -15,6 +15,9 @@
|
||||
<allow-intent href="sms:*"/>
|
||||
<allow-intent href="mailto:*"/>
|
||||
<allow-intent href="geo:*"/>
|
||||
|
||||
<preference name="ShowSplashScreenSpinner" value="false"/>
|
||||
|
||||
<platform name="android">
|
||||
<preference name="HeaderColor" value="#324150"/>
|
||||
<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-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" />
|
||||
|
||||
</platform>
|
||||
|
@ -18,12 +18,13 @@
|
||||
"cordova-plugin-geolocation": "^4.0.1",
|
||||
"cordova-plugin-headercolor": "^1.0.0",
|
||||
"cordova-plugin-inappbrowser": "^3.0.0",
|
||||
"cordova-plugin-splashscreen": "^5.0.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-whitelist": "^1.3.3",
|
||||
"phonegap-plugin-barcodescanner": "^8.0.1",
|
||||
"mls": "^0.1.1",
|
||||
"node-wifiscanner": "^0.2.1"
|
||||
"node-wifiscanner": "^0.2.1",
|
||||
"phonegap-plugin-barcodescanner": "^8.0.1"
|
||||
},
|
||||
"cordova": {
|
||||
"plugins": {
|
||||
@ -36,7 +37,8 @@
|
||||
"cordova-plugin-app-version": {},
|
||||
"cordova-plugin-inappbrowser": {},
|
||||
"cordova-plugin-transparent-status-bar": {},
|
||||
"cordova-plugin-geolocation": {}
|
||||
"cordova-plugin-geolocation": {},
|
||||
"cordova-plugin-splashscreen": {}
|
||||
},
|
||||
"platforms": [
|
||||
"android"
|
||||
|
BIN
res/android/drawable-land-hdpi/screen.png
Normal file
After Width: | Height: | Size: 173 KiB |
BIN
res/android/drawable-land-ldpi/screen.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
res/android/drawable-land-mdpi/screen.png
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
res/android/drawable-land-xhdpi/screen.png
Normal file
After Width: | Height: | Size: 353 KiB |
BIN
res/android/drawable-land-xxhdpi/screen.png
Normal file
After Width: | Height: | Size: 513 KiB |
BIN
res/android/drawable-land-xxxhdpi/screen.png
Normal file
After Width: | Height: | Size: 701 KiB |
BIN
res/android/drawable-port-hdpi/screen.png
Normal file
After Width: | Height: | Size: 147 KiB |
BIN
res/android/drawable-port-ldpi/screen.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
res/android/drawable-port-mdpi/screen.png
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
res/android/drawable-port-xhdpi/screen.png
Normal file
After Width: | Height: | Size: 288 KiB |
BIN
res/android/drawable-port-xxhdpi/screen.png
Normal file
After Width: | Height: | Size: 422 KiB |
BIN
res/android/drawable-port-xxxhdpi/screen.png
Normal file
After Width: | Height: | Size: 602 KiB |
Before Width: | Height: | Size: 1.8 KiB |
BIN
splash.png
Normal file
After Width: | Height: | Size: 1001 KiB |