mirror of
https://gitee.com/shuto/cordova-plugin-file-opener2.git
synced 2025-01-31 12:02:49 +08:00
5935a4e8ac
Added support for Windows. Updated wp8 so that file can be on device, rather than only in local storage folder
58 lines
2.1 KiB
XML
58 lines
2.1 KiB
XML
<?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="io.github.pwlin.cordova.plugins.fileopener2" version="1.0.11">
|
|
|
|
<name>File Opener2</name>
|
|
<description>A File Opener Plugin for Cordova. (The Original Version)</description>
|
|
<license>MIT</license>
|
|
|
|
<engines>
|
|
<engine name="cordova" version=">=3.0.0" />
|
|
</engines>
|
|
|
|
<js-module src="www/plugins.FileOpener2.js" name="FileOpener2">
|
|
<clobbers target="cordova.plugins.fileOpener2" />
|
|
</js-module>
|
|
|
|
<!-- 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" />
|
|
<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="/*">
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
|
</config-file>
|
|
</platform>
|
|
|
|
<!-- 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>
|
|
|
|
<!-- WP8 -->
|
|
<platform name="wp8">
|
|
<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" />
|
|
</platform>
|
|
|
|
|
|
<!-- windows -->
|
|
<platform name="windows">
|
|
<js-module src="src/windows/fileOpener2Proxy.js" name="fileOpener2Proxy">
|
|
<merges target="" />
|
|
</js-module>
|
|
</platform>
|
|
</plugin>
|