-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathplugin.xml
73 lines (52 loc) · 2.31 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
<?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="cordova-plugin-pollfish"
version="2.1.6">
<name>PollfishPlugin</name>
<description>Pollfish Cordova/PhoneGap plugin</description>
<author>Pollfish Inc.</author>
<keywords>pollfish,cordova,phonegap,mobile,surveys,monetization,money,sdk,plugin</keywords>
<engines>
<engine name="cordova" version=">=3.4.0"/>
</engines>
<asset src="www/pollfish.js" target="js/pollfish.js"/>
<js-module src="www/pollfish.js" name="pollfish">
<clobbers target="pollfish" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="config.xml" parent="/*">
<preference name="AndroidXEnabled" value="true" />
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="PollfishPlugin">
<param name="android-package" value="com.pollfish.cordova.PollfishPlugin"/>
</feature>
</config-file>
<framework src="com.pollfish:pollfish-googleplay:6.4.0" />
<source-file src="src/android/PollfishPlugin.java" target-dir="src/com/pollfish/cordova" />
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
</config-file>
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/widget">
<feature name="PollfishPlugin">
<param name="ios-package" value="PollfishPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="Pollfish" spec="6.4.2"/>
</pods>
</podspec>
<header-file src="src/ios/PollfishPlugin.h" target-dir="PollfishPlugin"/>
<source-file src="src/ios/PollfishPlugin.m" target-dir="PollfishPlugin"/>
</platform>
</plugin>