forked from mattrayner/cordova-plugin-vuforia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
146 lines (118 loc) · 7.79 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-vuforia"
version="3.2.1">
<name>Vuforia</name>
<description>Cordova Vuforia Plugin</description>
<license>MIT</license>
<keywords>cordova,vuforia,image,recognition,augmented,reality</keywords>
<repo>[email protected]:mattrayner/cordova-plugin-vuforia.git</repo>
<issue>https://github.com/mattrayner/cordova-plugin-vuforia/issues</issue>
<author>Matthew Rayner</author>
<info>
Cordova Vuforia Plugin version 3.2.1, Copyright (C) 2016 Matthew Rayner
Cordova Vuforia Plugin comes with ABSOLUTELY NO WARRANTY; see the
LICENSE file for more information.
This is free software, and you are welcome to redistribute it
under certain conditions; see the LICENSE file for more information.
</info>
<js-module src="www/VuforiaPlugin.js" name="VuforiaPlugin">
<clobbers target="navigator.VuforiaPlugin" />
</js-module>
<!-- android -->
<platform name="android">
<!-- Plugin Config -->
<config-file target="res/xml/config.xml" parent="/*">
<feature name="VuforiaPlugin" >
<param name="android-package" value="com.mattrayner.vuforia.VuforiaPlugin"/>
</feature>
</config-file>
<!-- Add our activities to the Android Manifest -->
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity
android:name="com.mattrayner.vuforia.app.ImageTargets"
android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize"
android:screenOrientation="landscape"
android:noHistory="true">
</activity>
</config-file>
<!-- Add our required strings -->
<config-file target="res/values/strings.xml" parent="/*">
<string name="button_OK">OK</string>
</config-file>
<!-- Plugin Source -->
<source-file src="src/android/VuforiaPlugin.java" target-dir="src/com/mattrayner/vuforia" />
<!-- Assets -->
<resource-file src="src/android/res/drawable/devices.png" target="res/drawable/devices.png" />
<resource-file src="src/android/res/drawable-hdpi/devices.png" target="res/drawable-hdpi/devices.png" />
<resource-file src="src/android/res/drawable-xxhdpi/devices.png" target="res/drawable-xxhdpi/devices.png" />
<resource-file src="src/android/res/drawable/closebutton.png" target="res/drawable/closebutton.png" />
<resource-file src="src/android/res/drawable-hdpi/closebutton.png" target="res/drawable-hdpi/closebutton.png" />
<resource-file src="src/android/res/drawable-xxhdpi/closebutton.png" target="res/drawable-xxhdpi/closebutton.png" />
<resource-file src="src/android/res/drawable/closebutton_onpress.png" target="res/drawable/closebutton_onpress.png" />
<resource-file src="src/android/res/drawable-hdpi/closebutton_onpress.png" target="res/drawable-hdpi/closebutton_onpress.png" />
<resource-file src="src/android/res/drawable-xxhdpi/closebutton_onpress.png" target="res/drawable-xxhdpi/closebutton_onpress.png" />
<resource-file src="src/android/res/drawable/closebutton_selector.xml" target="res/drawable/closebutton_selector.xml" />
<resource-file src="src/android/res/drawable-hdpi/closebutton_selector.xml" target="res/drawable-hdpi/closebutton_selector.xml" />
<resource-file src="src/android/res/drawable-xxhdpi/closebutton_selector.xml" target="res/drawable-xxhdpi/closebutton_selector.xml" />
<resource-file src="src/android/res/layout/camera_overlay.xml" target="res/layout/camera_overlay.xml" />
<source-file src="src/android/java/com/mattrayner/vuforia/app/ImageTargets.java"
target-dir="src/java/com/mattrayner/vuforia/app" />
<source-file src="src/android/java/com/mattrayner/vuforia/app/ImageTargetRenderer.java"
target-dir="src/java/com/mattrayner/vuforia/app" />
<source-file src="src/android/java/com/mattrayner/vuforia/app/ApplicationControl.java"
target-dir="src/java/com/mattrayner/vuforia/app" />
<source-file src="src/android/java/com/mattrayner/vuforia/app/ApplicationException.java"
target-dir="src/java/com/mattrayner/vuforia/app" />
<source-file src="src/android/java/com/mattrayner/vuforia/app/ApplicationSession.java"
target-dir="src/java/com/mattrayner/vuforia/app" />
<source-file src="src/android/java/com/mattrayner/vuforia/app/utils/LoadingDialogHandler.java"
target-dir="src/java/com/mattrayner/vuforia/app/utils" />
<source-file src="src/android/java/com/mattrayner/vuforia/app/utils/MeshObject.java"
target-dir="src/java/com/mattrayner/vuforia/app/utils" />
<source-file src="src/android/java/com/mattrayner/vuforia/app/utils/ApplicationGLView.java"
target-dir="src/java/com/mattrayner/vuforia/app/utils" />
<source-file src="src/android/java/com/mattrayner/vuforia/app/utils/Texture.java"
target-dir="src/java/com/mattrayner/vuforia/app/utils" />
<!-- Include our resources -->
<resource-file src="targets/PluginTest.dat"
target="assets/PluginTest.dat" />
<resource-file src="targets/PluginTest.xml"
target="assets/PluginTest.xml" />
</platform>
<!-- ios -->
<platform name="ios">
<!-- config file -->
<config-file target="config.xml" parent="/*">
<feature name="VuforiaPlugin">
<param name="ios-package" value="VuforiaPlugin" />
</feature>
</config-file>
<!-- Add a value to our Info.plist file for iOS 10+ security permissions -->
<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>To scan for images.</string>
</config-file>
<header-file src="src/ios/VuforiaPlugin.h" />
<source-file src="src/ios/VuforiaPlugin.m" />
<header-file src="src/ios/ViewController.h" />
<source-file src="src/ios/ViewController.mm" />
<header-file src="src/ios/ImageTargets/ImageTargetsEAGLView.h" />
<source-file src="src/ios/ImageTargets/ImageTargetsEAGLView.mm" compiler-flags="-fno-objc-arc"/>
<header-file src="src/ios/ImageTargets/ImageTargetsViewController.h" />
<source-file src="src/ios/ImageTargets/ImageTargetsViewController.mm" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/Utils/ApplicationSession.h" />
<source-file src="src/ios/Utils/ApplicationSession.mm" compiler-flags="-fno-objc-arc"/>
<source-file src="src/ios/Utils/GLResourceHandler.h" />
<resource-file src="src/ios/VuforiaPlugin.bundle" />
<resource-file src="src/ios/Utils/shaders/Line.fragsh" target-dir="com.mattrayner.vuforia/shader" />
<resource-file src="src/ios/Utils/shaders/Line.vertsh" target-dir="com.mattrayner.vuforia/shader" />
<resource-file src="src/ios/Utils/shaders/Simple.fragsh" target-dir="com.mattrayner.vuforia" />
<resource-file src="src/ios/Utils/shaders/Simple.vertsh" target-dir="com.mattrayner.vuforia" />
<resource-file src="targets/PluginTest.dat" target-dir="com.mattrayner.vuforia" />
<resource-file src="targets/PluginTest.xml" target-dir="com.mattrayner.vuforia" />
<resource-file src="src/ios/Assets/ImageTargets/close-button.png" target-dir="Resources" />
<resource-file src="src/ios/Assets/ImageTargets/iOSDevices.png" target-dir="Resources" />
</platform>
<dependency id="cordova-plugin-vuforia-sdk" version="6.x.x" />
</plugin>