cordova-plugin-appice 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/README.md +122 -122
  2. package/example/config.xml +59 -59
  3. package/example/package.json +38 -38
  4. package/example/res/ai_android.pem +40 -40
  5. package/example/www/css/index.css +116 -116
  6. package/example/www/index.html +62 -62
  7. package/example/www/js/index.js +102 -102
  8. package/libcordova/android-release-aar.gradle +62 -62
  9. package/libcordova/build.gradle +50 -50
  10. package/libcordova/proguard-rules.pro +21 -21
  11. package/libcordova/src/main/AndroidManifest.xml +24 -24
  12. package/libcordova/src/main/java/com/appice/cordova/AppICEPlugin.java +968 -968
  13. package/libcordova/src/main/java/com/appice/cordova/CampaignCampsReceiver.java +95 -95
  14. package/libcordova/src/main/java/com/appice/cordova/NotificationEventService.java +55 -55
  15. package/libcordova/src/main/res/values/strings.xml +3 -3
  16. package/package.json +26 -26
  17. package/plugin.xml +128 -129
  18. package/scripts/BeforeAndroidBuilt.js +126 -112
  19. package/scripts/BeforeIosBuilt.js +38 -38
  20. package/scripts/androidAfterPluginAdd.js +159 -159
  21. package/scripts/androidAfterPluginRm.js +195 -195
  22. package/scripts/iOSAfterPluginAdd.js +98 -98
  23. package/scripts/iOSAfterPluginRm.js +74 -74
  24. package/src/build.gradle +14 -5
  25. package/src/firebase/modified/android/FirebasePluginMessagingService.java +356 -356
  26. package/src/firebase/modified/ios/AppDelegate+FirebasePlugin.m +529 -529
  27. package/src/firebase/modified/modified.iml +10 -10
  28. package/src/firebase/original/android/FirebasePluginMessagingService.java +348 -348
  29. package/src/firebase/original/ios/AppDelegate+FirebasePlugin.m +519 -519
  30. package/src/firebase/original/original.iml +10 -10
  31. package/src/ios/AppDelegate+AppICEPlugin.h +8 -8
  32. package/src/ios/AppDelegate+AppICEPlugin.m +191 -259
  33. package/src/ios/AppICEPlugin.h +90 -90
  34. package/src/ios/AppICEPlugin.m +1062 -1087
  35. package/www/AppICE.js +283 -283
@@ -1,95 +1,95 @@
1
- package com.appice.cordova;
2
-
3
- import android.content.BroadcastReceiver;
4
- import android.content.Context;
5
- import android.content.Intent;
6
- import android.net.Uri;
7
- import android.os.Bundle;
8
-
9
- import org.json.JSONException;
10
- import org.json.JSONObject;
11
-
12
- import java.net.URLDecoder;
13
- import java.util.HashMap;
14
- import java.util.Iterator;
15
- import java.util.Set;
16
-
17
- import semusi.activitysdk.ContextSdk;
18
-
19
- /**
20
- * Created by aman on 14/03/16.
21
- */
22
-
23
- public class CampaignCampsReceiver extends BroadcastReceiver {
24
-
25
- @Override
26
- public void onReceive(Context context, Intent intent) {
27
- try {
28
- sendCallback(intent.getExtras(), context);
29
- } catch (Throwable e) {
30
- }
31
- }
32
-
33
- public void sendCallback(Bundle extra, Context context) {
34
- try {
35
- // value of user click on campaign
36
- String tap = extra.getString("tap");
37
- // value of clicked is True/False based upon user click or not
38
- String url = extra.getString("url");
39
- String cdata = extra.getString("cdata");
40
- String pushCallback = extra.getString("ai_content");
41
-
42
- JSONObject json = new JSONObject();
43
-
44
- try {
45
- // gather deeplink data
46
- if (url != null && url.length() > 0) {
47
- HashMap<String, Object> deeplinkData = ContextSdk.gatherDeepLinkData(Uri.parse(url));
48
- Set<String> keys = deeplinkData.keySet();
49
- for (String key : keys) {
50
- try {
51
- json.put(key, deeplinkData.get(key));
52
- } catch (Throwable e) {
53
- }
54
- }
55
- }
56
- } catch (Throwable e) {
57
- }
58
-
59
- // Gather extra data from json object root
60
- try {
61
- if (cdata != null && cdata.length() > 0) {
62
- JSONObject croot = new JSONObject(cdata);
63
- if (croot != null && croot.length() > 0) {
64
- Iterator<String> it = croot.keys();
65
- while (it.hasNext()) {
66
- String key = it.next();
67
- Object obj = croot.get(key);
68
- if (obj.getClass().equals(String.class))
69
- json.put(key, URLDecoder.decode((String) obj, "UTF-8"));
70
- else
71
- json.put(key, obj);
72
-
73
- }
74
- }
75
- }
76
- } catch (Throwable e) {
77
- }
78
-
79
- json.put("tap", tap);
80
- json.put("ai_content", pushCallback);
81
-
82
- try {
83
- if (url != null && url.length() > 0) {
84
- Uri path = Uri.parse(url);
85
- json.put("host", path.getHost());
86
- json.put("path", path.getPath());
87
- }
88
- } catch (Throwable e) {
89
- }
90
-
91
- AppICEPlugin.sendNotification(json, context);
92
- } catch (Throwable e) {
93
- }
94
- }
95
- }
1
+ package com.appice.cordova;
2
+
3
+ import android.content.BroadcastReceiver;
4
+ import android.content.Context;
5
+ import android.content.Intent;
6
+ import android.net.Uri;
7
+ import android.os.Bundle;
8
+
9
+ import org.json.JSONException;
10
+ import org.json.JSONObject;
11
+
12
+ import java.net.URLDecoder;
13
+ import java.util.HashMap;
14
+ import java.util.Iterator;
15
+ import java.util.Set;
16
+
17
+ import semusi.activitysdk.ContextSdk;
18
+
19
+ /**
20
+ * Created by aman on 14/03/16.
21
+ */
22
+
23
+ public class CampaignCampsReceiver extends BroadcastReceiver {
24
+
25
+ @Override
26
+ public void onReceive(Context context, Intent intent) {
27
+ try {
28
+ sendCallback(intent.getExtras(), context);
29
+ } catch (Throwable e) {
30
+ }
31
+ }
32
+
33
+ public void sendCallback(Bundle extra, Context context) {
34
+ try {
35
+ // value of user click on campaign
36
+ String tap = extra.getString("tap");
37
+ // value of clicked is True/False based upon user click or not
38
+ String url = extra.getString("url");
39
+ String cdata = extra.getString("cdata");
40
+ String pushCallback = extra.getString("ai_content");
41
+
42
+ JSONObject json = new JSONObject();
43
+
44
+ try {
45
+ // gather deeplink data
46
+ if (url != null && url.length() > 0) {
47
+ HashMap<String, Object> deeplinkData = ContextSdk.gatherDeepLinkData(Uri.parse(url));
48
+ Set<String> keys = deeplinkData.keySet();
49
+ for (String key : keys) {
50
+ try {
51
+ json.put(key, deeplinkData.get(key));
52
+ } catch (Throwable e) {
53
+ }
54
+ }
55
+ }
56
+ } catch (Throwable e) {
57
+ }
58
+
59
+ // Gather extra data from json object root
60
+ try {
61
+ if (cdata != null && cdata.length() > 0) {
62
+ JSONObject croot = new JSONObject(cdata);
63
+ if (croot != null && croot.length() > 0) {
64
+ Iterator<String> it = croot.keys();
65
+ while (it.hasNext()) {
66
+ String key = it.next();
67
+ Object obj = croot.get(key);
68
+ if (obj.getClass().equals(String.class))
69
+ json.put(key, URLDecoder.decode((String) obj, "UTF-8"));
70
+ else
71
+ json.put(key, obj);
72
+
73
+ }
74
+ }
75
+ }
76
+ } catch (Throwable e) {
77
+ }
78
+
79
+ json.put("tap", tap);
80
+ json.put("ai_content", pushCallback);
81
+
82
+ try {
83
+ if (url != null && url.length() > 0) {
84
+ Uri path = Uri.parse(url);
85
+ json.put("host", path.getHost());
86
+ json.put("path", path.getPath());
87
+ }
88
+ } catch (Throwable e) {
89
+ }
90
+
91
+ AppICEPlugin.sendNotification(json, context);
92
+ } catch (Throwable e) {
93
+ }
94
+ }
95
+ }
@@ -1,55 +1,55 @@
1
- package com.appice.cordova;
2
-
3
- import android.app.job.JobParameters;
4
- import android.app.job.JobService;
5
- import android.os.Build;
6
- import android.os.Bundle;
7
- import android.os.PersistableBundle;
8
-
9
- import java.util.Timer;
10
- import java.util.TimerTask;
11
-
12
- public class NotificationEventService extends JobService {
13
-
14
- @Override
15
- public boolean onStartJob(JobParameters params) {
16
- if (params != null) {
17
- PersistableBundle bundle = params.getExtras();
18
- if (bundle != null) {
19
- final Bundle bundle1 = toBundle(bundle);
20
- if (bundle1 != null) {
21
- new Timer("AppICE-NotifService-Timer").schedule(new TimerTask() {
22
- @Override
23
- public void run() {
24
- CampaignCampsReceiver rc = new CampaignCampsReceiver();
25
- rc.sendCallback(bundle1, getApplicationContext());
26
- }
27
- }, 2 * 1000);
28
- }
29
- }
30
- }
31
-
32
- return true;
33
- }
34
-
35
- public static Bundle toBundle(PersistableBundle persistableBundle) {
36
- try {
37
- if (persistableBundle == null) {
38
- return null;
39
- }
40
- Bundle bundle = new Bundle();
41
- if (Build.VERSION.SDK_INT >= 21)
42
- bundle.putAll(persistableBundle);
43
- return bundle;
44
- } catch (Throwable e) {
45
- }
46
-
47
- return null;
48
- }
49
-
50
- @Override
51
- public boolean onStopJob(JobParameters params) {
52
- return false;
53
- }
54
- }
55
-
1
+ package com.appice.cordova;
2
+
3
+ import android.app.job.JobParameters;
4
+ import android.app.job.JobService;
5
+ import android.os.Build;
6
+ import android.os.Bundle;
7
+ import android.os.PersistableBundle;
8
+
9
+ import java.util.Timer;
10
+ import java.util.TimerTask;
11
+
12
+ public class NotificationEventService extends JobService {
13
+
14
+ @Override
15
+ public boolean onStartJob(JobParameters params) {
16
+ if (params != null) {
17
+ PersistableBundle bundle = params.getExtras();
18
+ if (bundle != null) {
19
+ final Bundle bundle1 = toBundle(bundle);
20
+ if (bundle1 != null) {
21
+ new Timer("AppICE-NotifService-Timer").schedule(new TimerTask() {
22
+ @Override
23
+ public void run() {
24
+ CampaignCampsReceiver rc = new CampaignCampsReceiver();
25
+ rc.sendCallback(bundle1, getApplicationContext());
26
+ }
27
+ }, 2 * 1000);
28
+ }
29
+ }
30
+ }
31
+
32
+ return true;
33
+ }
34
+
35
+ public static Bundle toBundle(PersistableBundle persistableBundle) {
36
+ try {
37
+ if (persistableBundle == null) {
38
+ return null;
39
+ }
40
+ Bundle bundle = new Bundle();
41
+ if (Build.VERSION.SDK_INT >= 21)
42
+ bundle.putAll(persistableBundle);
43
+ return bundle;
44
+ } catch (Throwable e) {
45
+ }
46
+
47
+ return null;
48
+ }
49
+
50
+ @Override
51
+ public boolean onStopJob(JobParameters params) {
52
+ return false;
53
+ }
54
+ }
55
+
@@ -1,3 +1,3 @@
1
- <resources>
2
-
3
- </resources>
1
+ <resources>
2
+
3
+ </resources>
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
- {
2
- "name": "cordova-plugin-appice",
3
- "version": "2.0.07",
4
- "description": "AppICE Plugin for Cordova/PhoneGap",
5
- "cordova": {
6
- "id": "cordova-plugin-appice",
7
- "platforms": [
8
- "ios",
9
- "android"
10
- ]
11
- },
12
- "keywords": [
13
- "AppICE",
14
- "ecosystem:cordova",
15
- "cordova-ios",
16
- "cordova-android"
17
- ],
18
- "author": "AppICE",
19
- "license": "Commercial",
20
- "bugs": {
21
- "url": "https://github.com/AppICEIO/cordova-plugin-appice/issues"
22
- },
23
- "homepage": "https://github.com/AppICEIO/cordova-plugin-appice#readme",
24
- "dependencies": {
25
- "shelljs": "^0.8.4"
26
- }
1
+ {
2
+ "name": "cordova-plugin-appice",
3
+ "version": "2.0.08",
4
+ "description": "AppICE Plugin for Cordova/PhoneGap",
5
+ "cordova": {
6
+ "id": "cordova-plugin-appice",
7
+ "platforms": [
8
+ "ios",
9
+ "android"
10
+ ]
11
+ },
12
+ "keywords": [
13
+ "AppICE",
14
+ "ecosystem:cordova",
15
+ "cordova-ios",
16
+ "cordova-android"
17
+ ],
18
+ "author": "AppICE",
19
+ "license": "Commercial",
20
+ "bugs": {
21
+ "url": "https://github.com/AppICEIO/cordova-plugin-appice/issues"
22
+ },
23
+ "homepage": "https://github.com/AppICEIO/cordova-plugin-appice#readme",
24
+ "dependencies": {
25
+ "shelljs": "^0.8.4"
26
+ }
27
27
  }
package/plugin.xml CHANGED
@@ -1,129 +1,128 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-appice" version="2.0.07">
3
- <name>AppICE</name>
4
- <description>AppICE Plugin for Cordova/PhoneGap</description>
5
- <license>Commercial</license>
6
- <keywords>AppICE</keywords>
7
-
8
- <js-module src="www/AppICE.js" name="AppICE">
9
- <clobbers target="AppICE" />
10
- </js-module>
11
-
12
- <engines>
13
- <engine name="cordova" version=">=3.0.0" />
14
- </engines>
15
-
16
- <preference name="APPICE_APP_ID" />
17
- <preference name="APPICE_APP_KEY" />
18
- <preference name="APPICE_API_KEY" />
19
-
20
- <platform name="ios">
21
- <config-file target="*-Info.plist" parent="AppICEAppID">
22
- <string>$APPICE_APP_ID</string>
23
- </config-file>
24
-
25
- <config-file target="*-Info.plist" parent="AppICEAppKey">
26
- <string>$APPICE_APP_KEY</string>
27
- </config-file>
28
-
29
- <config-file target="*-Info.plist" parent="AppICEApiKey">
30
- <string>$APPICE_API_KEY</string>
31
- </config-file>
32
-
33
- <config-file parent="aps-environment" target="*/Entitlements-Debug.plist">
34
- <string>development</string>
35
- </config-file>
36
- <config-file parent="aps-environment" target="*/Entitlements-Release.plist">
37
- <string>production</string>
38
- </config-file>
39
-
40
- <podspec>
41
- <pods>
42
-
43
- <pod name="AppICE-IOS-SDK" spec="1.7.59" />
44
- </pods>
45
- </podspec>
46
-
47
- <config-file target="config.xml" parent="/*">
48
- <feature name="AppICEPlugin">
49
- <param name="ios-package" value="AppICEPlugin"/>
50
- <param name="onload" value="true" />
51
- </feature>
52
- </config-file>
53
-
54
- <header-file src="src/ios/AppDelegate+AppICEPlugin.h" />
55
- <source-file src="src/ios/AppDelegate+AppICEPlugin.m" />
56
- <header-file src="src/ios/AppICEPlugin.h" />
57
- <source-file src="src/ios/AppICEPlugin.m" />
58
-
59
-
60
- <framework src="NotificationCenter.framework" />
61
- <framework src="UserNotificationsUI.framework" weak="true"/>
62
- <framework src="UserNotifications.framework" />
63
- <framework src="Security.framework" />
64
- <framework src="CoreFoundation.framework" />
65
- <framework src="CFNetwork.framework" />
66
- <framework src="AVFoundation.framework" />
67
- <framework src="QuartzCore.framework" />
68
- <framework src="ImageIO.framework" />
69
- <framework src="AssetsLibrary.framework" />
70
- <framework src="SystemConfiguration.framework" />
71
- <framework src="CoreData.framework" />
72
- <framework src="CoreTelephony.framework" />
73
- <framework src="CoreGraphics.framework" />
74
- <framework src="UIKit.framework" />
75
- <framework src="Foundation.framework" />
76
- <framework src="CoreServices.framework" />
77
- <framework src="libc++.tbd" />
78
-
79
-
80
- <hook type="after_plugin_install" src="scripts/iOSAfterPluginAdd.js" />
81
- <hook type="before_plugin_uninstall" src="scripts/iOSAfterPluginRm.js" />
82
- <hook type="before_build" src="scripts/BeforeIosBuilt.js" />
83
- </platform>
84
-
85
- <platform name="android">
86
-
87
- <!-- <config-file>
88
- <access origin="*.appice.io" />
89
- </config-file> -->
90
-
91
- <config-file target="config.xml" parent="/*">
92
- <feature name="AppICEPlugin">
93
- <param name="android-package" value="com.appice.cordova.AppICEPlugin" />
94
- <param name="onload" value="true" />
95
- </feature>
96
- </config-file>
97
-
98
- <config-file target="AndroidManifest.xml" parent="/manifest">
99
- <uses-permission android:name="android.permission.INTERNET"/>
100
- <permission android:name="$PACKAGE_NAME.permission.C2D_MESSAGE" android:protectionLevel="signature"/>
101
- <uses-permission android:name="$PACKAGE_NAME.permission.C2D_MESSAGE"/>
102
- </config-file>
103
-
104
- <config-file target="AndroidManifest.xml" parent="/manifest/application">
105
- <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
106
- <meta-data android:name="com.semusi.analytics.appid" android:value="$APPICE_APP_ID"/>
107
- <meta-data android:name="com.semusi.analytics.appkey" android:value="$APPICE_APP_KEY"/>
108
- <meta-data android:name="com.semusi.analytics.apikey" android:value="$APPICE_API_KEY"/>
109
-
110
- </config-file>
111
-
112
- <framework src="com.google.android.gms:play-services-ads:16.0.0" />
113
- <framework src="com.google.android.gms:play-services-location:21.0.1" />
114
- <framework src="com.google.firebase:firebase-iid:20.0.0" />
115
- <framework src="com.google.firebase:firebase-messaging:20.0.0" />
116
- <framework src="com.google.firebase:firebase-core:16.0.9" />
117
- <framework src="com.android.support:support-v4:+" />
118
- <framework src="src/build.gradle" custom="true" type="gradleReference" />
119
- <framework src="appice.io.android:sdk:2.5.63"/>
120
-
121
- <!--to add modified firebasex files,includes appice classin
122
- manifest,when SSL pinning enabled adds tag to manifest -->
123
- <hook type="after_plugin_install" src="scripts/androidAfterPluginAdd.js" />
124
- <!-- undo all changes -->
125
- <hook type="before_plugin_uninstall" src="scripts/androidAfterPluginRm.js" />
126
- <!--if MFP PUSH ENABLED then doing changes in manifest and project.properties -->
127
- <hook type="before_build" src="scripts/BeforeAndroidBuilt.js" />
128
- </platform>
129
- </plugin>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-appice" version="2.0.08">
3
+ <name>AppICE</name>
4
+ <description>AppICE Plugin for Cordova/PhoneGap</description>
5
+ <license>Commercial</license>
6
+ <keywords>AppICE</keywords>
7
+
8
+ <js-module src="www/AppICE.js" name="AppICE">
9
+ <clobbers target="AppICE" />
10
+ </js-module>
11
+
12
+ <engines>
13
+ <engine name="cordova" version=">=3.0.0" />
14
+ </engines>
15
+
16
+ <preference name="APPICE_APP_ID" />
17
+ <preference name="APPICE_APP_KEY" />
18
+ <preference name="APPICE_API_KEY" />
19
+
20
+ <platform name="ios">
21
+ <config-file target="*-Info.plist" parent="AppICEAppID">
22
+ <string>$APPICE_APP_ID</string>
23
+ </config-file>
24
+
25
+ <config-file target="*-Info.plist" parent="AppICEAppKey">
26
+ <string>$APPICE_APP_KEY</string>
27
+ </config-file>
28
+
29
+ <config-file target="*-Info.plist" parent="AppICEApiKey">
30
+ <string>$APPICE_API_KEY</string>
31
+ </config-file>
32
+
33
+ <config-file parent="aps-environment" target="*/Entitlements-Debug.plist">
34
+ <string>development</string>
35
+ </config-file>
36
+ <config-file parent="aps-environment" target="*/Entitlements-Release.plist">
37
+ <string>production</string>
38
+ </config-file>
39
+
40
+ <podspec>
41
+ <pods>
42
+
43
+ <pod name="AppICE-IOS-SDK" spec="1.7.59" />
44
+ </pods>
45
+ </podspec>
46
+
47
+ <config-file target="config.xml" parent="/*">
48
+ <feature name="AppICEPlugin">
49
+ <param name="ios-package" value="AppICEPlugin"/>
50
+ <param name="onload" value="true" />
51
+ </feature>
52
+ </config-file>
53
+
54
+ <header-file src="src/ios/AppDelegate+AppICEPlugin.h" />
55
+ <source-file src="src/ios/AppDelegate+AppICEPlugin.m" />
56
+ <header-file src="src/ios/AppICEPlugin.h" />
57
+ <source-file src="src/ios/AppICEPlugin.m" />
58
+
59
+
60
+ <framework src="NotificationCenter.framework" />
61
+ <framework src="UserNotificationsUI.framework" weak="true"/>
62
+ <framework src="UserNotifications.framework" />
63
+ <framework src="Security.framework" />
64
+ <framework src="CoreFoundation.framework" />
65
+ <framework src="CFNetwork.framework" />
66
+ <framework src="AVFoundation.framework" />
67
+ <framework src="QuartzCore.framework" />
68
+ <framework src="ImageIO.framework" />
69
+ <framework src="AssetsLibrary.framework" />
70
+ <framework src="SystemConfiguration.framework" />
71
+ <framework src="CoreData.framework" />
72
+ <framework src="CoreTelephony.framework" />
73
+ <framework src="CoreGraphics.framework" />
74
+ <framework src="UIKit.framework" />
75
+ <framework src="Foundation.framework" />
76
+ <framework src="CoreServices.framework" />
77
+ <framework src="libc++.tbd" />
78
+
79
+
80
+ <hook type="after_plugin_install" src="scripts/iOSAfterPluginAdd.js" />
81
+ <hook type="before_plugin_uninstall" src="scripts/iOSAfterPluginRm.js" />
82
+ <hook type="before_build" src="scripts/BeforeIosBuilt.js" />
83
+ </platform>
84
+
85
+ <platform name="android">
86
+
87
+ <!-- <config-file>
88
+ <access origin="*.appice.io" />
89
+ </config-file> -->
90
+
91
+ <config-file target="config.xml" parent="/*">
92
+ <feature name="AppICEPlugin">
93
+ <param name="android-package" value="com.appice.cordova.AppICEPlugin" />
94
+ <param name="onload" value="true" />
95
+ </feature>
96
+ </config-file>
97
+
98
+ <config-file target="AndroidManifest.xml" parent="/manifest">
99
+ <uses-permission android:name="android.permission.INTERNET"/>
100
+ <permission android:name="$PACKAGE_NAME.permission.C2D_MESSAGE" android:protectionLevel="signature"/>
101
+ <uses-permission android:name="$PACKAGE_NAME.permission.C2D_MESSAGE"/>
102
+ </config-file>
103
+
104
+ <config-file target="AndroidManifest.xml" parent="/manifest/application">
105
+ <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
106
+ <meta-data android:name="com.semusi.analytics.appid" android:value="$APPICE_APP_ID"/>
107
+ <meta-data android:name="com.semusi.analytics.appkey" android:value="$APPICE_APP_KEY"/>
108
+ <meta-data android:name="com.semusi.analytics.apikey" android:value="$APPICE_API_KEY"/>
109
+
110
+ </config-file>
111
+
112
+ <framework src="com.google.android.gms:play-services-ads:16.0.0" />
113
+ <framework src="com.google.android.gms:play-services-location:21.0.1" />
114
+ <framework src="com.google.firebase:firebase-messaging:23.0.6" />
115
+ <framework src="com.google.firebase:firebase-core:21.1.0" />
116
+ <framework src="com.android.support:support-v4:+" />
117
+ <framework src="src/build.gradle" custom="true" type="gradleReference" />
118
+ <framework src="appice.io.android:sdk:2.5.64-release"/>
119
+
120
+ <!--to add modified firebasex files,includes appice classin
121
+ manifest,when SSL pinning enabled adds tag to manifest -->
122
+ <hook type="after_plugin_install" src="scripts/androidAfterPluginAdd.js" />
123
+ <!-- undo all changes -->
124
+ <hook type="before_plugin_uninstall" src="scripts/androidAfterPluginRm.js" />
125
+ <!--if MFP PUSH ENABLED then doing changes in manifest and project.properties -->
126
+ <hook type="before_build" src="scripts/BeforeAndroidBuilt.js" />
127
+ </platform>
128
+ </plugin>