forked from andreszs/cordova-plugin-in-app-updates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
50 lines (41 loc) · 1.84 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-in-app-updates" version="2.2.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>InAppUpdate</name>
<description>In-App updates from Play Store for your Apache Cordova app.</description>
<license>MIT</license>
<keywords>android,in-app,update</keywords>
<engines>
<engine name="cordova" version=">=10.0.0" />
<engine name="cordova-android" version=">=12.0.0" />
</engines>
<js-module name="InAppUpdate" src="www/InAppUpdate.js">
<clobbers target="cordova.plugins.InAppUpdate" />
</js-module>
<platform name="android">
<config-file target="config.xml" parent="/*">
<preference name="AndroidXEnabled" value="true" />
</config-file>
<preference name="ANDROIDX_APPCOMPAT_VERSION" default="1.6.1" />
<framework src="androidx.appcompat:appcompat:$ANDROIDX_APPCOMPAT_VERSION" />
<preference name="ANDROID_PLAY_APP_UPDATE_VERSION" default="2.1.0" />
<framework src="com.google.android.play:app-update:$ANDROID_PLAY_APP_UPDATE_VERSION" />
<preference name="ANDROID_MATERIAL_VERSION" default="1.8.0" />
<framework src="com.google.android.material:material:$ANDROID_MATERIAL_VERSION" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="InAppUpdate">
<param name="android-package" value="com.andreszs.inappupdate.InAppUpdate" />
</feature>
</config-file>
<source-file src="src/android/InAppUpdate.java" target-dir="src/com/andreszs/inappupdate" />
</platform>
<platform name="browser">
<config-file target="config.xml" parent="/*">
<feature name="InAppUpdate">
<param name="browser-package" value="InAppUpdate" />
</feature>
</config-file>
<js-module src="src/browser/InAppUpdateProxy.js" name="InAppUpdateProxy">
<runs />
</js-module>
</platform>
</plugin>