forked from vaenow/cordova-plugin-app-update
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
54 lines (50 loc) · 2.92 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-app-update" version="1.5.2">
<name>AppUpdate</name>
<description>Cordova App Update</description>
<license>Apache 2.0</license>
<keywords>cordova,update,app,auto,updater</keywords>
<dependency id="cordova-plugin-appversion" version="1.0.0" />
<js-module src="www/AppUpdate.js" name="AppUpdate">
<clobbers target="AppUpdate" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="AppUpdate">
<param name="android-package" value="com.vaenow.appupdate.android.CheckAppUpdate"/>
<param name="onload" value="true" /> <!-- Must Have -->
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<provider
android:name="com.vaenow.appupdate.android.GenericFileProvider"
android:authorities="${applicationId}.appupdate.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/appupdate_paths"/>
</provider>
</config-file>
<source-file src="src/android/" target-dir="app/src/main/java/com/vaenow/appupdate/"/>
<source-file src="res/values/appupdate_strings.xml" target-dir="res/values"/>
<source-file src="res/values-en/appupdate_strings.xml" target-dir="res/values-en"/>
<source-file src="res/values-de/appupdate_strings.xml" target-dir="res/values-de"/>
<source-file src="res/values-zh/appupdate_strings.xml" target-dir="res/values-zh"/>
<source-file src="res/values-fr/appupdate_strings.xml" target-dir="res/values-fr"/>
<source-file src="res/values-pt/appupdate_strings.xml" target-dir="res/values-pt"/>
<source-file src="res/values-bn/appupdate_strings.xml" target-dir="res/values-bn"/>
<source-file src="res/values-pl/appupdate_strings.xml" target-dir="res/values-pl"/>
<source-file src="res/values-it/appupdate_strings.xml" target-dir="res/values-it"/>
<source-file src="res/layout/appupdate_progress.xml" target-dir="res/layout"/>
<source-file src="res/xml/appupdate_paths.xml" target-dir="res/xml" />
<framework src="com.android.support:support-v4:24.1.1+" />
</platform>
</plugin>