config.xml 4.71 KB
Newer Older
1
<?xml version='1.0' encoding='utf-8'?>
Benoit Lavenier's avatar
Benoit Lavenier committed
2
<widget android-versionCode="660" id="fr.gchange" version="0.6.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
3 4
    <name>ğchange</name>
    <description>
Benoit Lavenier's avatar
Benoit Lavenier committed
5
  An unhosted webapp for market with libre currency
Benoit Lavenier's avatar
Benoit Lavenier committed
6
  </description>
7 8
    <author email="contact@gchange.fr" href="http://www.gchange.fr">
        ğchange team
Benoit Lavenier's avatar
Benoit Lavenier committed
9
  </author>
10 11
    <content src="index.html" />
    <access origin="*" />
12 13 14 15 16 17 18 19 20
    <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:*" />
Benoit Lavenier's avatar
Benoit Lavenier committed
21
    <icon src="www/img/logo.png" />
22 23 24
    <preference name="webviewbounce" value="false" />
    <preference name="UIWebViewBounce" value="false" />
    <preference name="DisallowOverscroll" value="true" />
25 26 27 28
    <preference name="SplashScreen" value="screen" />
    <preference name="SplashScreenDelay" value="4000" />
    <preference name="xwalkVersion" value="19" />
    <preference name="xwalkMultipleApk" value="false" />
29
    <preference name="android-minSdkVersion" value="16" />
30
    <preference name="android-targetSdkVersion" value="25" />
31 32 33 34 35 36
    <allow-navigation href="https://data.gchange.fr/*" />
    <allow-navigation href="https://g1.duniter.org/*" />
    <allow-navigation href="https://g1.duniter.fr/*" />
    <feature name="StatusBar">
        <param name="ios-package" onload="true" value="CDVStatusBar" />
    </feature>
37 38 39 40 41 42
    <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>
43 44 45 46 47 48 49
    <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" />
Benoit Lavenier's avatar
Benoit Lavenier committed
50 51 52 53 54 55 56 57 58 59 60 61
        <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" />
62 63
    </platform>
    <engine name="android" spec="^6.2.3" />
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
    <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" />
    <plugin name="cordova-plugin-inappbrowser" spec="^1.7.1" />
    <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" />
    <plugin name="cordova-plugin-statusbar" spec="^2.2.3" />
    <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" />
    <plugin name="phonegap-plugin-barcodescanner" spec="git+https://github.com/phonegap/phonegap-plugin-barcodescanner.git">
Benoit Lavenier's avatar
Benoit Lavenier committed
79
        <variable name="CAMERA_USAGE_DESCRIPTION" value=" QRCode scan" />
80
    </plugin>
81
</widget>