forked from georgski/cordova-vr-player
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplugin.xml
70 lines (60 loc) · 2.81 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
67
68
69
70
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="google-vr-plugin"
version="0.0.0">
<!-- 0 . 0 . 0 is replaced before publishing -->
<name>Google VR Plugin</name>
<description></description>
<keywords></keywords>
<dependency id="cordova-plugin-cocoapod-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" />
<header-file src="src/ios/PanoramaViewController.h" />
<source-file src="src/ios/PanoramaViewController.m" />
<resource-file src="src/ios/Panorama.storyboard" />
<resource-file src="src/ios/Main.storyboard" />
<resource-file src="src/ios/andes.jpg"/>
<pod id="GVRSDK" version="1.40.0" />
</platform>
</plugin>