Use adaptive icon on Android, bump version to 1.6
43
config.xml
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<widget id="com.netsyms.BusinessMobile" version="1.5" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||
<widget id="com.netsyms.BusinessMobile" version="1.6" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||
<name>Business</name>
|
||||
<description>
|
||||
Mobile client for the Netsyms Business Apps.
|
||||
@ -26,18 +26,35 @@
|
||||
<preference name="SplashMaintainAspectRatio" value="true" />
|
||||
<preference name="HeaderColor" value="#2196f3" />
|
||||
<preference name="StatusBarBackgroundColor" value="#1976d2" />
|
||||
<splash qualifier="port-ldpi" src="res/screens/android/screen-ldpi-portrait.png" />
|
||||
<splash qualifier="port-mdpi" src="res/screens/android/screen-mdpi-portrait.png" />
|
||||
<splash qualifier="port-hdpi" src="res/screens/android/screen-hdpi-portrait.png" />
|
||||
<splash qualifier="port-xhdpi" src="res/screens/android/screen-xhdpi-portrait.png" />
|
||||
<splash qualifier="port-xxhdpi" src="res/screens/android/screen-xxhdpi-portrait.png" />
|
||||
<splash qualifier="port-xxxhdpi" src="res/screens/android/screen-xxxhdpi-portrait.png" />
|
||||
<splash qualifier="land-ldpi" src="res/screens/android/screen-ldpi-landscape.png" />
|
||||
<splash qualifier="land-mdpi" src="res/screens/android/screen-mdpi-landscape.png" />
|
||||
<splash qualifier="land-hdpi" src="res/screens/android/screen-hdpi-landscape.png" />
|
||||
<splash qualifier="land-xhdpi" src="res/screens/android/screen-xhdpi-landscape.png" />
|
||||
<splash qualifier="land-xxhdpi" src="res/screens/android/screen-xxhdpi-landscape.png" />
|
||||
<splash qualifier="land-xxxhdpi" src="res/screens/android/screen-xxxhdpi-landscape.png" />
|
||||
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
|
||||
<application android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" />
|
||||
</edit-config>
|
||||
<resource-file src="res/android/values/ic_launcher_background.xml" target="app/src/main/res/values/ic_launcher_background.xml" />
|
||||
<resource-file src="res/android/drawable/ic_launcher_foreground.xml" target="app/src/main/res/drawable/ic_launcher_foreground.xml" />
|
||||
<resource-file src="res/android/mipmap-anydpi-v26/ic_launcher.xml" target="app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml" />
|
||||
<resource-file src="res/android/mipmap-anydpi-v26/ic_launcher_round.xml" target="app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml" />
|
||||
<resource-file src="res/android/mipmap-hdpi/ic_launcher.png" target="app/src/main/res/mipmap-hdpi/ic_launcher.png" />
|
||||
<resource-file src="res/android/mipmap-hdpi/ic_launcher_round.png" target="app/src/main/res/mipmap-hdpi/ic_launcher_round.png" />
|
||||
<resource-file src="res/android/mipmap-mdpi/ic_launcher.png" target="app/src/main/res/mipmap-mdpi/ic_launcher.png" />
|
||||
<resource-file src="res/android/mipmap-mdpi/ic_launcher_round.png" target="app/src/main/res/mipmap-mdpi/ic_launcher_round.png" />
|
||||
<resource-file src="res/android/mipmap-xhdpi/ic_launcher.png" target="app/src/main/res/mipmap-xhdpi/ic_launcher.png" />
|
||||
<resource-file src="res/android/mipmap-xhdpi/ic_launcher_round.png" target="app/src/main/res/mipmap-xhdpi/ic_launcher_round.png" />
|
||||
<resource-file src="res/android/mipmap-xxhdpi/ic_launcher.png" target="app/src/main/res/mipmap-xxhdpi/ic_launcher.png" />
|
||||
<resource-file src="res/android/mipmap-xxhdpi/ic_launcher_round.png" target="app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png" />
|
||||
<resource-file src="res/android/mipmap-xxxhdpi/ic_launcher.png" target="app/src/main/res/mipmap-xxxhdpi/ic_launcher.png" />
|
||||
<resource-file src="res/android/mipmap-xxxhdpi/ic_launcher_round.png" target="app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png" />
|
||||
<splash density="port-ldpi" src="res/screen/android/splash-port-ldpi.png" />
|
||||
<splash density="port-mdpi" src="res/screen/android/splash-port-mdpi.png" />
|
||||
<splash density="port-hdpi" src="res/screen/android/splash-port-hdpi.png" />
|
||||
<splash density="port-xhdpi" src="res/screen/android/splash-port-xhdpi.png" />
|
||||
<splash density="port-xxhdpi" src="res/screen/android/splash-port-xxhdpi.png" />
|
||||
<splash density="port-xxxhdpi" src="res/screen/android/splash-port-xxxhdpi.png" />
|
||||
<splash density="land-ldpi" src="res/screen/android/splash-land-ldpi.png" />
|
||||
<splash density="land-mdpi" src="res/screen/android/splash-land-mdpi.png" />
|
||||
<splash density="land-hdpi" src="res/screen/android/splash-land-hdpi.png" />
|
||||
<splash density="land-xhdpi" src="res/screen/android/splash-land-xhdpi.png" />
|
||||
<splash density="land-xxhdpi" src="res/screen/android/splash-land-xxhdpi.png" />
|
||||
<splash density="land-xxxhdpi" src="res/screen/android/splash-land-xxxhdpi.png" />
|
||||
</platform>
|
||||
<preference name="AutoHideSplashScreen" value="false" />
|
||||
<plugin name="cordova-plugin-add-swift-support" spec="^1.7.1" />
|
||||
|
BIN
logo_512.png
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 18 KiB |
44
res/android/drawable/ic_launcher_foreground.xml
Normal file
@ -0,0 +1,44 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="798.444"
|
||||
android:viewportHeight="792.0944">
|
||||
<group android:translateX="206.33473"
|
||||
android:translateY="194.06314">
|
||||
<path
|
||||
android:pathData="M111.7,150.1L172,150.1A12.9,12.9 60.8,0 1,184.8 162.9L184.8,391.1A12.9,12.9 0,0 1,172 404L111.7,404A12.9,12.9 130.2,0 1,98.9 391.1L98.9,162.9A12.9,12.9 52.1,0 1,111.7 150.1z"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillAlpha="0.39215686"
|
||||
android:fillColor="#ffffff"
|
||||
android:strokeWidth="5"
|
||||
android:strokeAlpha="1"/>
|
||||
<path
|
||||
android:pathData="M212.8,211.2L273,211.2A12.9,12.9 60.8,0 1,285.8 224L285.8,391.1A12.9,12.9 0,0 1,273 404L212.8,404A12.9,12.9 119.2,0 1,199.9 391.1L199.9,224A12.9,12.9 0,0 1,212.8 211.2z"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillAlpha="0.39215686"
|
||||
android:fillColor="#ffffff"
|
||||
android:strokeWidth="5"
|
||||
android:strokeAlpha="1"/>
|
||||
<path
|
||||
android:pathData="M12.9,262.7L73.1,262.7A12.9,12.9 128.5,0 1,85.9 275.5L85.9,391.1A12.9,12.9 128.5,0 1,73.1 404L12.9,404A12.9,12.9 129.4,0 1,-0 391.1L-0,275.5A12.9,12.9 129.4,0 1,12.9 262.7z"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillAlpha="0.39215686"
|
||||
android:fillColor="#ffffff"
|
||||
android:strokeWidth="5"
|
||||
android:strokeAlpha="1"/>
|
||||
<path
|
||||
android:pathData="M312.7,-0L372.9,-0A12.9,12.9 53.5,0 1,385.8 12.9L385.8,391.1A12.9,12.9 0,0 1,372.9 404L312.7,404A12.9,12.9 0,0 1,299.9 391.1L299.9,12.9A12.9,12.9 53.5,0 1,312.7 -0z"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillAlpha="0.39215686"
|
||||
android:fillColor="#ffffff"
|
||||
android:strokeWidth="5"
|
||||
android:strokeAlpha="1"/>
|
||||
<path
|
||||
android:pathData="m147.8,51.5a18.8,18.8 108.7,0 0,-18.8 18.7,18.8 18.8,58.3 0,0 2.3,9L57.3,263.8a18.8,18.8 59.3,0 0,-15.9 18.5,18.8 18.8,0 0,0 18.7,18.8 18.8,18.8 78.9,0 0,18.8 -18.7,18.8 18.8,59.3 0,0 -4,-11.6l71.6,-179 76,230a18.8,18.8 110.6,0 0,-4.3 11.9,18.8 18.8,122.9 0,0 18.7,18.8 18.8,18.8 74.2,0 0,18.8 -18.7,18.8 18.8,60.9 0,0 -6,-13.7L327,146.7a18.8,18.8 0,0 0,17.4 -18.7,18.8 18.8,61.1 0,0 -18.7,-18.8 18.8,18.8 61.1,0 0,-18.8 18.7,18.8 18.8,108.7 0,0 3.1,10.4L236.5,303.5 163,81.1a18.8,18.8 104.1,0 0,3.5 -10.8,18.8 18.8,108.7 0,0 -18.7,-18.8z"
|
||||
android:fillAlpha="1"
|
||||
android:strokeColor="#d8edff"
|
||||
android:fillColor="#d8edff"
|
||||
android:strokeWidth="6.59239769"
|
||||
android:strokeAlpha="1"/>
|
||||
</group>
|
||||
</vector>
|
5
res/android/mipmap-anydpi-v26/ic_launcher.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
5
res/android/mipmap-anydpi-v26/ic_launcher_round.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
BIN
res/android/mipmap-hdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
res/android/mipmap-hdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
res/android/mipmap-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
res/android/mipmap-mdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
res/android/mipmap-mdpi/icon.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
res/android/mipmap-xhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
res/android/mipmap-xhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
res/android/mipmap-xxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
res/android/mipmap-xxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 8.5 KiB |
BIN
res/android/mipmap-xxxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
res/android/mipmap-xxxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 12 KiB |
4
res/android/values/ic_launcher_background.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#2196F3</color>
|
||||
</resources>
|
Before Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 5.2 KiB |
BIN
res/screen/android/splash-land-hdpi.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
res/screen/android/splash-land-ldpi.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
res/screen/android/splash-land-mdpi.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
res/screen/android/splash-land-xhdpi.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
res/screen/android/splash-land-xxhdpi.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
res/screen/android/splash-land-xxxhdpi.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
res/screen/android/splash-port-hdpi.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
res/screen/android/splash-port-ldpi.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
res/screen/android/splash-port-mdpi.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
res/screen/android/splash-port-xhdpi.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
res/screen/android/splash-port-xxhdpi.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
res/screen/android/splash-port-xxxhdpi.png
Normal file
After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 42 KiB |