-
Notifications
You must be signed in to change notification settings - Fork 67
/
plugin.xml
81 lines (81 loc) · 3.93 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-ionic" version="5.5.3">
<name>cordova-plugin-ionic</name>
<description>Ionic Cordova SDK</description>
<license>MIT</license>
<keywords>ionic,cordova,deploy,liveupdates,mobile,hybrid,ecosystem:cordova,cordova-android,cordova-ios</keywords>
<repo>https://github.com/ionic-team/cordova-plugin-ionic.git</repo>
<issue>https://github.com/ionic-team/cordova-plugin-ionic/issues</issue>
<js-module src="dist/common.js">
<clobbers target="IonicCordova"/>
</js-module>
<js-module src="dist/guards.js" name="guards">
<runs/>
</js-module>
<preference name="APP_ID"/>
<preference name="CHANNEL_NAME"/>
<preference name="UPDATE_API" default="https://api.ionicjs.com"/>
<preference name="UPDATE_METHOD" default="background"/>
<preference name="MAX_STORE" default="2"/>
<preference name="MIN_BACKGROUND_DURATION" default="30"/>
<hook type="before_prepare" src="hooks/beforePrepare.js"/>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="IonicCordovaCommon">
<param name="ios-package" value="IonicCordovaCommon" onload="true"/>
</feature>
<preference name="DisableDeploy" value="false"/>
<preference name="AutoHideSplashScreen" value="false"/>
</config-file>
<config-file target="*-Info.plist" parent="IonAppId">
<string>$APP_ID</string>
</config-file>
<config-file target="*-Info.plist" parent="IonChannelName">
<string>$CHANNEL_NAME</string>
</config-file>
<config-file target="*-Info.plist" parent="IonApi">
<string>$UPDATE_API</string>
</config-file>
<config-file target="*-Info.plist" parent="IonUpdateMethod">
<string>$UPDATE_METHOD</string>
</config-file>
<config-file target="*-Info.plist" parent="IonMaxVersions">
<string>$MAX_STORE</string>
</config-file>
<config-file target="*-Info.plist" parent="IonMinBackgroundDuration">
<string>$MIN_BACKGROUND_DURATION</string>
</config-file>
<header-file src="src/ios/IonicCordovaCommon.h"/>
<source-file src="src/ios/IonicCordovaCommon.m"/>
</platform>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="IonicCordovaCommon">
<param name="android-package" value="com.ionicframework.common.IonicCordovaCommon" onload="true"/>
</feature>
<preference name="DisableDeploy" value="false"/>
<preference name="AutoHideSplashScreen" value="false"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
</config-file>
<config-file target="res/values/strings.xml" parent="/resources">
<string name="ionic_app_id">$APP_ID</string>
<string name="ionic_channel_name">$CHANNEL_NAME</string>
<string name="ionic_update_api">$UPDATE_API</string>
<string name="ionic_update_method">$UPDATE_METHOD</string>
<string name="ionic_max_versions">$MAX_STORE</string>
<string name="ionic_min_background_duration">$MIN_BACKGROUND_DURATION</string>
</config-file>
<framework src="src/android/cordovapluginionic.gradle" custom="true" type="gradleReference"/>
<source-file src="src/android/IonicCordovaCommon.java" target-dir="src/com/ionicframework/common"/>
</platform>
<platform name="browser">
<js-module src="src/browser/IonicCordovaCommon.js" name="IonicCordovaCommon">
<runs/>
</js-module>
</platform>
<dependency id="cordova-plugin-ionic-webview" version=">=2.1.4"/>
<author>Ionic</author>
</plugin>