Skip to content
Snippets Groups Projects
Commit 2866521c authored by Lene Wasskog's avatar Lene Wasskog
Browse files

feat: Splashscreen for ios and android

parent 47762e03
Branches
No related tags found
No related merge requests found
......@@ -23,12 +23,16 @@ compile to www folder</description>
<plugin name="cordova-plugin-geolocation" spec="4.1.0" />
<preference name="StatusBarOverlaysWebView" value="false" />
<preference name="StatusBarStyle" value="default" />
<platform name="android">
<preference name="AutoHideSplashScreen" value="true" />
<preference name="SplashScreenDelay" value="2500" />
<platform name="android">
<allow-intent href="market:*" />
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:usesCleartextTraffic="true" />
</edit-config>
</platform>
<preference name="AndroidWindowSplashScreenAnimatedIcon" value="platform_assets/android/splash/splashscreen_2732x2732.png" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
......@@ -53,6 +57,8 @@ compile to www folder</description>
<icon src="platform_assets/ios/app_icons/180.png" width="180" height="180" />
<icon src="platform_assets/ios/app_icons/1024.png" width="1024" height="1024" />
<splash src="platform_assets/ios/splash/Default@2x~universal~anyany.png" />
<edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge">
<string>Bruker kameraet for å ta bilder av skadegjørere i felt</string>
</edit-config>
......
platform_assets/android/splash/splashscreen_2732x2732.png

175 KiB

platform_assets/ios/splash/Default@2x~universal~anyany.png

175 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment