forked from SpiderOak/FileViewerPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
50 lines (39 loc) · 1.76 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
49
50
<?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="com.spideroak.fileviewerplugin"
version="0.4.0">
<name>File Viewer Plugin</name>
<description>A file viewing and sharing plugin based on the Web Intents plugin by Boris Smus</description>
<author>Tommy-Carlos Williams - [email protected]</author>
<keywords>file,share,intents</keywords>
<license>MIT</license>
<js-module name="FileViewerPlugin" src="www/FileViewerPlugin.js">
<clobbers target="window.FileViewerPlugin" />
</js-module>
<!-- android -->
<platform name="android">
<!-- Cordova 3.x.x -->
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="FileViewerPlugin">
<param name="android-package" value="com.spideroak.fileviewerplugin.FileViewerPlugin" />
</feature>
</config-file>
<source-file src="src/android/FileViewerPlugin.java"
target-dir="src/com/spideroak/fileviewerplugin" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="FileViewerPlugin">
<param name="ios-package" value="FileViewerPlugin" />
</feature>
</config-file>
<header-file src="src/ios/FileViewerPlugin.h" />
<source-file src="src/ios/FileViewerPlugin.m" />
<source-file src="src/ios/FileViewerPluginViewController.h" />
<source-file src="src/ios/FileViewerPluginViewController.m" />
<framework src="MobileCoreServices.framework" />
</platform>
<uses-permission android:name="android.permission.INTERNET" />
</plugin>