-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathplugin.xml
66 lines (56 loc) · 2.62 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-vr-player"
version="1.2.0">
<name>Cordova VR Player</name>
<description></description>
<license>MIT</license>
<keywords></keywords>
<dependency id="cordova-plugin-cocoapod-support" url="https://github.com/Aerex/cordova-plugin-cocoapods-support/"/>
<!-- android -->
<platform name="android">
<js-module src="www/plugin.js" name="plugin">
<runs/>
<clobbers target="GoogleVRPlayer" />
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="GoogleVRPlayer">
<param name="android-package" value="com.neotrino.GoogleVRPlayer" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.neotrino.VrVideoActivity">
<intent-filter>
<action android:name="PLAY_VR_VIDEO" />
</intent-filter>
</activity>
</config-file>
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
<resource-file src="src/android/libs/common.aar" target="libs/common.aar" />
<resource-file src="src/android/libs/commonwidget.aar" target="libs/commonwidget.aar" />
<resource-file src="src/android/libs/videowidget.aar" target="libs/videowidget.aar" />
<source-file src="src/android/java/neotrino/GoogleVRPlayer.java" target-dir="src/com/neotrino/" />
<source-file src="src/android/java/neotrino/VrVideoActivity.java" target-dir="src/com/neotrino/" />
<source-file src="src/android/res/layout/main_layout.xml" target-dir="res/layout" />
</platform>
<!-- ios -->
<platform name="ios">
<pods-config ios-min-version="9.0" uses-frameworks="true"/>
<js-module src="www/plugin.js" name="plugin">
<runs/>
<clobbers target="GoogleVRPlayer" />
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="GoogleVRPlayer">
<param name="ios-package" value="GoogleVRPlayer" onload="true" />
</feature>
</config-file>
<header-file src="src/ios/GoogleVRPlayer.h" />
<source-file src="src/ios/GoogleVRPlayer.m" />
<header-file src="src/ios/VideoPlayerViewController.h" />
<source-file src="src/ios/VideoPlayerViewController.m" />
<resource-file src="src/ios/Main.storyboard" />
<pod id="GVRSDK" version="1.0.1" />
</platform>
</plugin>