2014-09-28 02:44:44 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2017-04-07 05:16:34 +08:00
|
|
|
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-file-opener2" version="2.0.13">
|
2014-02-11 22:42:00 +08:00
|
|
|
|
2014-09-28 02:44:44 +08:00
|
|
|
<name>File Opener2</name>
|
|
|
|
<description>A File Opener Plugin for Cordova. (The Original Version)</description>
|
|
|
|
<license>MIT</license>
|
2014-02-11 22:42:00 +08:00
|
|
|
|
2014-09-28 02:44:44 +08:00
|
|
|
<engines>
|
|
|
|
<engine name="cordova" version=">=3.0.0" />
|
|
|
|
</engines>
|
2014-02-11 22:42:00 +08:00
|
|
|
|
2014-09-28 02:44:44 +08:00
|
|
|
<js-module src="www/plugins.FileOpener2.js" name="FileOpener2">
|
|
|
|
<clobbers target="cordova.plugins.fileOpener2" />
|
|
|
|
</js-module>
|
2014-02-11 22:42:00 +08:00
|
|
|
|
2014-09-28 02:44:44 +08:00
|
|
|
<!-- Android -->
|
|
|
|
<platform name="android">
|
|
|
|
<source-file src="src/android/io/github/pwlin/cordova/plugins/fileopener2/FileOpener2.java" target-dir="src/io/github/pwlin/cordova/plugins/fileopener2" />
|
2017-01-28 04:01:33 +08:00
|
|
|
<source-file src="src/android/io/github/pwlin/cordova/plugins/fileopener2/FileProvider.java" target-dir="src/io/github/pwlin/cordova/plugins/fileopener2" />
|
2014-09-28 02:44:44 +08:00
|
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
|
|
|
<feature name="FileOpener2">
|
|
|
|
<param name="android-package" value="io.github.pwlin.cordova.plugins.fileopener2.FileOpener2" />
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
<config-file target="AndroidManifest.xml" parent="/*">
|
2014-09-11 17:01:07 +08:00
|
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
|
|
</config-file>
|
2017-01-28 04:01:33 +08:00
|
|
|
<config-file target="AndroidManifest.xml" parent="/manifest/application">
|
2017-04-07 03:36:38 +08:00
|
|
|
<provider android:name="io.github.pwlin.cordova.plugins.fileopener2.FileProvider" android:authorities="$PACKAGE_NAME.opener.provider" android:exported="false" android:grantUriPermissions="true">
|
|
|
|
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/opener_paths" />
|
2017-01-28 04:01:33 +08:00
|
|
|
</provider>
|
|
|
|
</config-file>
|
2017-04-07 03:36:38 +08:00
|
|
|
<source-file src="src/android/res/xml/opener_paths.xml" target-dir="res/xml" />
|
2017-01-31 12:30:24 +08:00
|
|
|
<framework src="com.android.support:support-v4:+" />
|
2014-09-28 02:44:44 +08:00
|
|
|
</platform>
|
2014-02-11 22:42:00 +08:00
|
|
|
|
2014-09-28 02:44:44 +08:00
|
|
|
<!-- iOS -->
|
|
|
|
<platform name="ios">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="FileOpener2">
|
|
|
|
<param name="ios-package" value="FileOpener2" />
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
<source-file src="src/ios/FileOpener2.m" />
|
|
|
|
<header-file src="src/ios/FileOpener2.h" />
|
|
|
|
</platform>
|
2014-02-11 22:42:00 +08:00
|
|
|
|
2015-04-28 20:46:32 +08:00
|
|
|
<!-- WP8 -->
|
|
|
|
<platform name="wp8">
|
2015-05-05 16:59:27 +08:00
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="FileOpener2">
|
|
|
|
<param name="wp-package" value="FileOpener2" />
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
<source-file src="src/wp8/FileOpener2.cs" />
|
2015-04-28 20:46:32 +08:00
|
|
|
</platform>
|
2017-01-28 04:01:33 +08:00
|
|
|
|
2017-04-07 03:36:38 +08:00
|
|
|
<!-- windows -->
|
2015-05-05 16:59:27 +08:00
|
|
|
<platform name="windows">
|
|
|
|
<js-module src="src/windows/fileOpener2Proxy.js" name="fileOpener2Proxy">
|
|
|
|
<merges target="" />
|
|
|
|
</js-module>
|
|
|
|
</platform>
|
2014-02-11 22:42:00 +08:00
|
|
|
</plugin>
|