UNPKG

com.peerio.cordova.plugin.open

Version:

Open audio, video, images and more with applications installed on the user's device

48 lines (47 loc) 2.01 kB
<?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="com.peerio.cordova.plugin.open" version="1.0.11"> <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 target="AndroidManifest.xml" parent="/manifest/application"> <provider android:authorities="com.peerio.fileprovider" android:exported="false" android:grantUriPermissions="true" android:name="android.support.v4.content.FileProvider"> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/paths" /> </provider> </config-file> <source-file src="src/android/Open.java" target-dir="src/com/disusered"/> <resource-file src="res/xml/paths.xml" target="res/xml/paths.xml" /> <framework src="com.android.support:support-v4:+" /> </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> </plugin>