-
Notifications
You must be signed in to change notification settings - Fork 4
/
plugin.xml
50 lines (45 loc) · 1.82 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://apache.org/cordova/ns/plugins/1.0"
id="vwo-cordova-plugin"
version="1.0.0">
<name>VWO Cordova Plugin</name>
<description> </description>
<license>MIT</license>
<dependency id="cordova-plugin-cocoapod-support"/>
<!-- android -->
<platform name="android">
<framework src="src/android/build-extras.gradle" custom="true" type="gradleReference" />
<js-module src="www/plugin.js" name="plugin">
<runs/>
<clobbers target="VWOCordovaPlugin" />
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="VWOCordovaPlugin">
<param name="android-package" value="VWOCordovaPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<source-file src="src/android/VWOCordovaPlugin.java" target-dir="src/" />
</platform>
<!-- ios -->
<platform name="ios">
<pods-config ios-min-version="9.0" use-frameworks="true">
</pods-config>
<pod name="VWO" version=">= 2.5.1"/>
<js-module src="www/plugin.js" name="plugin">
<runs/>
<clobbers target="VWOCordovaPlugin" />
</js-module>
<config-file target="config.xml" parent="/*">
<feature name="VWOCordovaPlugin">
<param name="ios-package" value="VWOCordovaPlugin" onload="true" />
</feature>
</config-file>
<header-file src="src/ios/VWOCordovaPlugin.h" />
<source-file src="src/ios/VWOCordovaPlugin.m" />
</platform>
</plugin>