config.xml 3.65 KB
Newer Older
Troy A. Griffitts's avatar
Troy A. Griffitts committed
1
<?xml version='1.0' encoding='utf-8'?>
2
<widget id="org.crosswire.bishop" version="1.5.2" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
Troy A. Griffitts's avatar
Troy A. Griffitts committed
3 4 5 6 7
    <name>Bishop</name>
    <description>
        A Bible Study App from CrossWire
    </description>
    <author email="develoment@crosswire.org" href="http://crosswire.org">
8
        CrossWire Bible Society, Software Development Team
Troy A. Griffitts's avatar
Troy A. Griffitts committed
9 10 11 12 13 14 15 16 17
    </author>
    <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:*" />
18 19 20
    <allow-navigation href="http://*/*" />
    <allow-navigation href="https://*/*" />
    <allow-navigation href="data:*" />
21
    <preference name="phonegap-version" value="cli-8.1.1" />
22 23
    <preference name="UIWebViewBounce" value="false" />
    <preference name="DisallowOverscroll" value="true" />
24
    <splash src="res/swordlogo-1024.png" />
Troy A. Griffitts's avatar
Troy A. Griffitts committed
25
    <platform name="android">
26
        <icon src="res/swordlogo.png" />
Troy A. Griffitts's avatar
Troy A. Griffitts committed
27
        <allow-intent href="market:*" />
28
        <preference name="android-minSdkVersion" value="19" />
29
        <preference name="android-targetSdkVersion" value="28" />
Troy A. Griffitts's avatar
Troy A. Griffitts committed
30
        <preference name="AndroidLaunchMode" value="singleTop" />
31
        <preference name="AndroidPersistentFileLocation" value="Compatibility" />
Troy A. Griffitts's avatar
Troy A. Griffitts committed
32 33 34 35 36 37 38
        <config-file mode="add" parent="./application/activity" target="AndroidManifest.xml">
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="application/x-sword-conf" />
            </intent-filter>
        </config-file>
39
        <edit-config file="AndroidManifest.xml" mode="merge" target="application">
40 41
            <application android:usesCleartextTraffic="true" />
        </edit-config>
Troy A. Griffitts's avatar
Troy A. Griffitts committed
42 43
    </platform>
    <platform name="ios">
44 45 46 47 48 49 50 51
	<preference name="WKWebViewOnly" value="true" />

	<feature name="CDVWKWebViewEngine">
		<param name="ios-package" value="CDVWKWebViewEngine" />
	</feature>

	<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />

Troy A. Griffitts's avatar
Troy A. Griffitts committed
52 53
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
54
        <preference name="BackupWebStorage" value="local" />
55
        <preference name="deployment-target" value="9.0" />
56
        <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
57 58 59 60 61
        <icon height="1024" src="res/swordlogo-1024.png" width="1024" />
        <icon height="120" src="res/swordlogo-120.png" width="120" />
        <icon height="76" src="res/swordlogo-76.png" width="76" />
        <icon height="152" src="res/swordlogo-152.png" width="152" />
        <icon height="40" src="res/swordlogo-40.png" width="40" />
Troy A. Griffitts's avatar
Troy A. Griffitts committed
62
    </platform>
63
    <plugin name="cordova-plugin-file" />
64
    <plugin name="cordova-plugin-android-permissions" />
65 66 67 68 69 70
    <plugin name="cordova-plugin-inappbrowser" />
    <plugin name="cordova-plugin-globalization" />
    <plugin name="cordova-custom-config" />
    <plugin name="cordova-plugin-whitelist" />
    <plugin name="com-darryncampbell-cordova-plugin-intent" />
    <plugin name="cordova-plugin-add-swift-support" />
71
    <plugin name="cordova-plugin-splashscreen" />
72 73 74 75 76
    <plugin name="phonegap-plugin-mobile-accessibility" />
    <plugin name="com-sarriaroman-photoviewer" />
    <plugin name="cordova-plugin-x-toast" />
    <plugin name="cordova-plugin-device" />
    <plugin name="cordova-plugin-network-information" />
77
    <plugin name="cordova-plugin-wkwebview-engine" />
Troy A. Griffitts's avatar
Troy A. Griffitts committed
78
</widget>