config.xml 8.2 KB
Newer Older
1
<?xml version='1.0' encoding='utf-8'?>
Benoit Lavenier's avatar
Benoit Lavenier committed
2
<widget android-versionCode="10401" id="fr.duniter.cesium" version="1.4.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
3 4
    <name>Cesium</name>
    <description>
5
    An simple App for Duniter wallet
6
  </description>
7
    <author email="contact@e-is.pro">
8
    E-IS PRO
9
  </author>
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
    <content src="index.html" />
    <access origin="*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <allow-intent href="tel:*" />
    <allow-intent href="sms:*" />
    <allow-intent href="mailto:*" />
    <allow-intent href="geo:*" />
    <allow-navigation href="http://*/*" />
    <allow-navigation href="https://*/*" />
    <allow-navigation href="data:*" />
    <icon src="www/img/logo_96px.png" />
    <preference name="webviewbounce" value="false" />
    <preference name="UIWebViewBounce" value="false" />
    <preference name="DisallowOverscroll" value="true" />
    <preference name="SplashScreen" value="screen" />
    <preference name="SplashScreenDelay" value="4000" />
27
    <preference name="KeyboardDisplayRequiresUserAction" value="false" />
28 29 30
    <preference name="xwalkVersion" value="19" />
    <preference name="xwalkMultipleApk" value="false" />
    <preference name="android-minSdkVersion" value="16" />
31
    <preference name="android-targetSdkVersion" value="26" />
32 33 34 35 36
    <!-- issue #833 -->
    <preference name="StatusBarOverlaysWebView" value="false" />
    <preference name="StatusBarBackgroundColor" value="#000" />
    <preference name="StatusBarStyle" value="lightcontent" />

37 38 39 40
    <allow-navigation href="*" />
    <feature name="StatusBar">
        <param name="ios-package" onload="true" value="CDVStatusBar" />
    </feature>
Benoit Lavenier's avatar
Benoit Lavenier committed
41 42 43 44 45 46
    <feature name="Device">
        <param name="android-package" onload="true" value="org.apache.cordova.device.Device" />
    </feature>
    <feature name="MiniSodium">
        <param name="android-package" onload="true" value="me.lockate.plugins.MiniSodium" />
    </feature>
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
    <platform name="android">
        <icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
        <icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" />
        <icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" />
        <icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" />
        <icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" />
        <icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" />
        <splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" />
        <splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" />
        <splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" />
        <splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" />
        <splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" />
        <splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" />
        <splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" />
        <splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" />
        <splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" />
        <splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" />
        <splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" />
        <splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
    </platform>
    <platform name="ios">
        <preference name="BackupWebStorage" value="local" />
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
        <icon height="20" src="resources/ios/icon/Icon-App-20x20@1x.png" width="20" />
        <icon height="40" src="resources/ios/icon/Icon-App-20x20@2x.png" width="40" />
        <icon height="60" src="resources/ios/icon/Icon-App-20x20@3x.png" width="60" />
        <icon height="29" src="resources/ios/icon/Icon-App-29x29@1x.png" width="29" />
        <icon height="58" src="resources/ios/icon/Icon-App-29x29@2x.png" width="58" />
        <icon height="87" src="resources/ios/icon/Icon-App-29x29@3x.png" width="87" />
        <icon height="40" src="resources/ios/icon/Icon-App-40x40@1x.png" width="40" />
        <icon height="80" src="resources/ios/icon/Icon-App-40x40@2x.png" width="80" />
        <icon height="120" src="resources/ios/icon/Icon-App-40x40@3x.png" width="120" />
        <icon height="50" src="resources/ios/icon/Icon-App-50x50@1x.png" width="50" />
        <icon height="100" src="resources/ios/icon/Icon-App-50x50@2x.png" width="100" />
        <icon height="57" src="resources/ios/icon/Icon-App-57x57@1x.png" width="57" />
        <icon height="114" src="resources/ios/icon/Icon-App-57x57@2x.png" width="114" />
        <icon height="120" src="resources/ios/icon/Icon-App-60x60@2x.png" width="120" />
        <icon height="180" src="resources/ios/icon/Icon-App-60x60@3x.png" width="180" />
        <icon height="72" src="resources/ios/icon/Icon-App-72x72@1x.png" width="72" />
        <icon height="144" src="resources/ios/icon/Icon-App-72x72@2x.png" width="144" />
        <icon height="76" src="resources/ios/icon/Icon-App-76x76@1x.png" width="76" />
        <icon height="152" src="resources/ios/icon/Icon-App-76x76@2x.png" width="152" />
        <icon height="167" src="resources/ios/icon/Icon-App-83.5x83.5@2x.png" width="167" />
        <icon height="1024" src="resources/ios/icon/ItunesArtwork@2x.png" width="1024" />
90 91 92 93
        <splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" />
        <splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" />
        <splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
        <splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" />
94 95
        <splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" />
        <splash height="1125" src="resources/ios/splash/Default-Landscape-2436h.png" width="2436" />
96 97 98 99 100 101
        <splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" />
        <splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" />
        <splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" />
        <splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" />
        <splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" />
        <splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" />
102 103 104
        <edit-config file="*-Info.plist" mode="merge" target="NSCameraUsageDescription">
            <string>To scan QRCode</string>
        </edit-config>
105 106 107
        <edit-config file="*-Info.plist" mode="merge" target="NSPhotoLibraryUsageDescription">
            <string>To choose a profile picture</string>
        </edit-config>
108
    </platform>
Benoit Lavenier's avatar
Benoit Lavenier committed
109
    <engine name="android" spec="^6.2.3" />
110
    <engine name="ios" spec="^4.5.5" />
111 112 113 114
    <plugin name="cordova-plugin-camera" spec="^2.4.1" />
    <plugin name="cordova-plugin-console" spec="^1.0.7" />
    <plugin name="cordova-plugin-device" spec="^1.1.6" />
    <plugin name="cordova-plugin-dialogs" spec="^1.3.3" />
115
    <plugin name="cordova-plugin-inappbrowser" spec="^1.7.1" />
116 117 118
    <plugin name="cordova-plugin-minisodium" spec="^1.0.0" />
    <plugin name="cordova-plugin-secure-storage" spec="^2.6.8" />
    <plugin name="cordova-plugin-splashscreen" spec="^3.2.2" />
119
    <plugin name="cordova-plugin-statusbar" spec="^2.4.2" />
120 121 122 123 124
    <plugin name="cordova-plugin-vibration" spec="^2.1.5" />
    <plugin name="cordova-plugin-websocket" spec="^0.12.2" />
    <plugin name="cordova-plugin-whitelist" spec="^1.3.2" />
    <plugin name="cordova-plugin-x-toast" spec="^2.6.0" />
    <plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
125
    <plugin name="phonegap-plugin-barcodescanner" spec="git+https://github.com/phonegap/phonegap-plugin-barcodescanner.git">
126
        <variable name="CAMERA_USAGE_DESCRIPTION" value=" " />
127
    </plugin>
128
</widget>