This repository has been archived by the owner on Mar 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
/
plugin.xml
39 lines (39 loc) · 1.89 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
<?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-open" version="1.1.0">
<name>Open</name>
<description>Open audio, video, images and more with applications installed on the user's device</description>
<license>MIT</license>
<keywords>cordova,file,open,intent,video,audio,image,photo,pdf</keywords>
<repo>https://github.com/disusered/cordova-open</repo>
<issue>https://github.com/disusered/cordova-open/issues</issue>
<js-module name="Open" src="www/disusered.open.js">
<merges target="cordova.plugins.disusered"/>
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="Open">
<param name="android-package" value="com.disusered.Open"/>
</feature>
</config-file>
<config-file parent="/manifest/application" target="AndroidManifest.xml">
<provider android:name="android.support.v4.content.FileProvider" android:authorities="${applicationId}.provider" android:exported="false" android:grantUriPermissions="true">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/provider_paths"/>
</provider>
</config-file>
<source-file src="src/android/Open.java" target-dir="src/com/disusered"/>
<source-file src="src/android/provider_paths.xml" target-dir="res/xml"/>
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="Open">
<param name="ios-package" value="Open"/>
</feature>
</config-file>
<framework src="QuickLook.framework" />
<framework src="Foundation.framework" />
<source-file src="src/ios/Open.m"/>
<header-file src="src/ios/Open.h"/>
</platform>
<dependency id="cordova-plugin-file"/>
<dependency id="cordova-plugin-file-transfer"/>
</plugin>