Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
Remove unused plugins and preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXyfir committed Mar 19, 2019
1 parent 942ade5 commit 038cc51
Showing 1 changed file with 21 additions and 30 deletions.
51 changes: 21 additions & 30 deletions mobile/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,26 @@
</author>

<!-- Preferences -->
<preference name="phonegap-version" value="cli-8.1.1" />
<preference name="phonegap-version" value="cli-8.1.1"/>

<preference name="permissions" value="none"/>
<preference name="orientation" value="portrait" />
<preference name="target-device" value="universal" />
<preference name="fullscreen" value="true" />
<preference name="webviewbounce" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="prerendered-icon" value="true" />
<preference name="stay-in-webview" value="true" />
<preference name="exit-on-suspend" value="false" />
<preference name="show-splash-screen-spinner" value="false" />
<preference name="auto-hide-splash-screen" value="true" />
<preference name="android-installLocation" value="auto" />
<preference name="CRIPageLoadPromptInterval" value="0" />
<preference name="CRIShowConnectionErrorDialog" value="0" />
<preference name="orientation" value="portrait"/>
<preference name="target-device" value="universal"/>
<preference name="fullscreen" value="true"/>
<preference name="webviewbounce" value="false"/>
<preference name="DisallowOverscroll" value="true"/>
<preference name="prerendered-icon" value="true"/>
<preference name="stay-in-webview" value="true"/>
<preference name="exit-on-suspend" value="false"/>
<preference name="show-splash-screen-spinner" value="false"/>
<preference name="auto-hide-splash-screen" value="true"/>

<!-- Core plugins -->
<plugin name="cordova-plugin-console" />
<plugin name="cordova-plugin-device" />
<plugin name="cordova-plugin-dialogs" />
<plugin name="cordova-plugin-file" />
<plugin name="cordova-plugin-geolocation" />
<plugin name="cordova-plugin-globalization" />
<plugin name="cordova-plugin-inappbrowser" />
<plugin name="cordova-plugin-media" />
<plugin name="cordova-plugin-network-information" />
<plugin name="cordova-plugin-splashscreen" />
<plugin name="cordova-plugin-whitelist" />
<plugin name="cordova-plugin-statusbar" />
<plugin name="cordova-plugin-device"/>
<plugin name="cordova-plugin-inappbrowser"/>
<plugin name="cordova-plugin-splashscreen"/>
<plugin name="cordova-plugin-whitelist"/>
<plugin name="cordova-plugin-statusbar"/>

<platform name="ios">
<icon src="res/icon/ios/icon-1024.png" width="1024" height="1024"/>
Expand Down Expand Up @@ -82,6 +72,7 @@

<platform name="android">
<preference name="SplashMaintainAspectRatio" value="true"/>
<preference name="android-installLocation" value="auto"/>
<preference name="SplashShowOnlyFirstTime" value="true"/>

<icon density="ldpi" src="res/icon/android/ldpi.png"/>
Expand All @@ -101,12 +92,12 @@
</platform>

<!-- Whitelist the entire network, over HTTP and HTTPS -->
<allow-navigation href="*" />
<allow-navigation href="*"/>

<!-- Allow links to web pages to open in a browser -->
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="http://*/*"/>
<allow-intent href="https://*/*"/>

<meta http-equiv="Content-Security-Policy" content="default-src *; style-src * 'unsafe-inline'; script-src * 'unsafe-inline'; media-src *; img-src * data:;" />
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src * 'unsafe-inline'; script-src * 'unsafe-inline'; media-src *; img-src * data:;"/>

</widget>

0 comments on commit 038cc51

Please sign in to comment.