-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
120 lines (90 loc) · 3.71 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
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="kommunicate-cordova-plugin"
xmlns:tools="http://schemas.android.com/tools"
version="0.3.0">
<name>Kommunicate</name>
<dependency id="cordova-plugin-cocoapod-support"/>
<dependency id="cordova-plugin-swift-support"/>
<engines>
<engine name="cordova" version=">=3.4.0"/>
</engines>
<asset src="www/kommunicate.js" target="js/kommunicate.js"/>
<js-module src="www/kommunicate.js" name="kommunicate">
<clobbers target="kommunicate" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="KommunicateCordovaPlugin">
<param name="android-package"
value="io.kommunicate.phonegap.KommunicateCordovaPlugin"/>
</feature>
</config-file>
<source-file src="src/android/KommunicateCordovaPlugin.java" target-dir="src/io/kommunicate/phonegap/"/>
<source-file src="src/android/FcmInstanceIDListenerService.java" target-dir="src/io/kommunicate/phonegap/notification"/>
<source-file src="src/android/FcmListenerService.java" target-dir="src/io/kommunicate/phonegap/notification"/>
<source-file src="src/android/applozic-settings.json" target-dir="assets"/>
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyAv1wf5eMyErPaU3l8EnMUmOsoYJ2joC70" />
<service android:name="io.kommunicate.phonegap.notification.FcmListenerService"
android:stopWithTask="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<service
android:name="io.kommunicate.phonegap.notification.FcmInstanceIDListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
</intent-filter>
</service>
</config-file>
</platform>
<platform name="ios">
<pods-config ios-min-version="9.0" use-frameworks="true"/>
<pod name="Kommunicate" />
<config-file target="config.xml" parent="/*">
<feature name="KommunicateCordovaPlugin">
<param name="ios-package" value="KommunicateCordovaPlugin" />
</feature>
</config-file>
<config-file
parent="NSCameraUsageDescription"
target="*-Info.plist">
<string>Allow Camera</string>
</config-file>
<config-file
parent="NSPhotoLibraryAddUsageDescription"
target="*-Info.plist">
<string>Allow Write</string>
</config-file>
<config-file
parent="NSContactsUsageDescription"
target="*-Info.plist">
<string>Allow Contacts</string>
</config-file>
<config-file
parent="NSLocationWhenInUseUsageDescription"
target="*-Info.plist">
<string>Allow location sharing</string>
</config-file>
<config-file
parent="NSMicrophoneUsageDescription"
target="*-Info.plist">
<string>Allow MicroPhone</string>
</config-file>
<config-file
parent="NSPhotoLibraryUsageDescription"
target="*-Info.plist">
<string>Allow Photos</string>
</config-file>
<source-file src="src/ios/KommunicateCordovaPlugin.swift"/>
</platform>
<platform name="wp7">
<source-file src="src/wp7/Kommunicate.cs"/>
</platform>
</plugin>