forked from lipse/codova-update-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.xml
More file actions
42 lines (31 loc) · 1.41 KB
/
plugin.xml
File metadata and controls
42 lines (31 loc) · 1.41 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.common.plugins.updateapp"
version="0.3.2">
<name>Update App plugin</name>
<description>
<p>This plugin come from internet. Thanks to the author. </p>
<p>Update App plugin allows you replace the current running app with new version app. It only suport Andriod platform. </p>
</description>
<license>Apache 2.0</license>
<asset src="www/update-plugin.js" target="update-plugin.js" />
<config-file target="config.xml" parent="/*">
<access origin="https://m.facebook.com" />
<access origin="https://graph.facebook.com" />
<access origin="https://api.facebook.com" />
<access origin="https://*.fbcdn.net" />
<access origin="https://*.akamaihd.net" />
</config-file>
<engines>
<engine name="cordova" version=">=2.9.0" />
</engines>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="plugins">
<plugin name="Update" value="org.common.plugins.updateapp.Update"/>
</config-file>
<!-- cordova plugin src files -->
<source-file src="src/android/Update.java" target-dir="src/org/common/plugins/updateapp" />
</platform>
</plugin>