-
Notifications
You must be signed in to change notification settings - Fork 13
/
plugin.xml
48 lines (46 loc) · 2.34 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-apkInstaller"
version="1.1.1"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>Apk Installer</name>
<description>Cordova Apk Installer Plugin.</description>
<author>cigalecigales</author>
<keywords>cordova, apk, installer</keywords>
<license>Apache 2.0</license>
<repo>https://github.com/cigalecigales/cordova-plugin-apkInstaller.git</repo>
<issue>https://github.com/cigalecigales/cordova-plugin-apkInstaller/issues</issue>
<engines>
<engine name="cordova-android" version=">5.0.0"/>
</engines>
<js-module name="apkInstaller" src="www/apkInstaller.js">
<clobbers target="apkInstaller"/>
</js-module>
<platform name="android">
<preference name="ANDROID_SUPPORT_V4_VERSION" default="26.+" />
<framework src="com.android.support:support-v4:$ANDROID_SUPPORT_V4_VERSION" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="apkInstaller">
<param name="android-package" value="plugin.apkInstaller.ApkInstaller"/>
</feature>
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<preference name="AndroidPersistentFileLocation" value="Internal" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<provider
android:name="plugin.apkInstaller.ApkInstallerProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" />
</provider>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
</config-file>
<source-file src="src/android/ApkInstaller.java" target-dir="src/plugin/apkInstaller/"/>
<source-file src="src/android/ApkInstallerProvider.java" target-dir="src/plugin/apkInstaller/"/>
<source-file src="src/android/xml/file_paths.xml" target-dir="res/xml/"/>
</platform>
</plugin>