reactnative-plugin-appice 1.7.25 → 1.7.27

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 (106) hide show
  1. package/README.md +37 -37
  2. package/android/README.md +14 -14
  3. package/android/build.gradle +158 -158
  4. package/android/gitignore +47 -47
  5. package/android/gradle/wrapper/gradle-wrapper.properties +5 -5
  6. package/android/gradlew +234 -234
  7. package/android/local.properties +8 -8
  8. package/android/src/main/AndroidManifest.xml +138 -164
  9. package/android/src/main/java/com/reactlibrary/AppICEUtils.java +274 -274
  10. package/android/src/main/java/com/reactlibrary/AppIceReactPluginModule.java +778 -778
  11. package/android/src/main/java/com/reactlibrary/AppIceReactPluginPackage.java +28 -28
  12. package/android/src/main/java/com/reactlibrary/CampaignCampsReceiver.java +56 -56
  13. package/android/src/main/java/com/reactlibrary/EnumConstants.java +282 -282
  14. package/android/src/main/java/com/reactlibrary/NotificationEventService.java +59 -59
  15. package/android/src/main/java/com/reactlibrary/StringConstants.java +24 -24
  16. package/campaign.js +25 -25
  17. package/example/App.js +332 -332
  18. package/example/Gemfile +6 -6
  19. package/example/PageA.tsx +15 -15
  20. package/example/__tests__/App-test.js +14 -14
  21. package/example/ancilliary.js +486 -486
  22. package/example/android/app/_BUCK +55 -55
  23. package/example/android/app/build.gradle +320 -320
  24. package/example/android/app/build_defs.bzl +19 -19
  25. package/example/android/app/proguard-rules.pro +10 -10
  26. package/example/android/app/src/debug/AndroidManifest.xml +13 -13
  27. package/example/android/app/src/debug/java/com/example/ReactNativeFlipper.java +73 -73
  28. package/example/android/app/src/main/AndroidManifest.xml +72 -72
  29. package/example/android/app/src/main/java/com/example/MainActivity.java +48 -48
  30. package/example/android/app/src/main/java/com/example/MainApplication.java +91 -91
  31. package/example/android/app/src/main/java/com/example/newarchitecture/MainApplicationReactNativeHost.java +116 -116
  32. package/example/android/app/src/main/java/com/example/newarchitecture/components/MainComponentsRegistry.java +36 -36
  33. package/example/android/app/src/main/java/com/example/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java +48 -48
  34. package/example/android/app/src/main/jni/Android.mk +48 -48
  35. package/example/android/app/src/main/jni/MainApplicationModuleProvider.cpp +24 -24
  36. package/example/android/app/src/main/jni/MainApplicationModuleProvider.h +16 -16
  37. package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp +45 -45
  38. package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h +38 -38
  39. package/example/android/app/src/main/jni/MainComponentsRegistry.cpp +61 -61
  40. package/example/android/app/src/main/jni/MainComponentsRegistry.h +32 -32
  41. package/example/android/app/src/main/jni/OnLoad.cpp +11 -11
  42. package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +36 -36
  43. package/example/android/app/src/main/res/values/strings.xml +3 -3
  44. package/example/android/app/src/main/res/values/styles.xml +9 -9
  45. package/example/android/build.gradle +73 -73
  46. package/example/android/gradle/wrapper/gradle-wrapper.properties +5 -5
  47. package/example/android/gradle.properties +40 -40
  48. package/example/android/gradlew +234 -234
  49. package/example/android/settings.gradle +11 -11
  50. package/example/app.json +3 -3
  51. package/example/babel.config.js +3 -3
  52. package/example/index.js +9 -9
  53. package/example/ios/Podfile +44 -44
  54. package/example/ios/Podfile.lock +561 -561
  55. package/example/ios/_xcode.env +11 -11
  56. package/example/ios/example/AppDelegate.h +8 -8
  57. package/example/ios/example/AppDelegate.mm +174 -174
  58. package/example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json +53 -53
  59. package/example/ios/example/Images.xcassets/Contents.json +6 -6
  60. package/example/ios/example/Info.plist +62 -62
  61. package/example/ios/example/LaunchScreen.storyboard +47 -47
  62. package/example/ios/example/example.entitlements +8 -8
  63. package/example/ios/example/main.m +10 -10
  64. package/example/ios/example.xcodeproj/project.pbxproj +712 -712
  65. package/example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme +88 -88
  66. package/example/ios/example.xcworkspace/contents.xcworkspacedata +10 -10
  67. package/example/ios/example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
  68. package/example/ios/exampleTests/Info.plist +24 -24
  69. package/example/ios/exampleTests/exampleTests.m +66 -66
  70. package/example/metro.config.js +17 -17
  71. package/example/package.json +36 -36
  72. package/example/yarn.lock +7176 -7176
  73. package/index.js +590 -590
  74. package/ios/AppICEReactEvent.h +23 -23
  75. package/ios/AppICEReactEvent.m +86 -86
  76. package/ios/AppIceReactPlugin.h +65 -65
  77. package/ios/AppIceReactPlugin.m +683 -683
  78. package/ios/AppIceReactPlugin.xcodeproj/project.pbxproj +364 -364
  79. package/ios/AppIceReactPlugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata +4 -4
  80. package/ios/AppIceReactPlugin.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
  81. package/ios/AppIceReactPlugin.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/xcschememanagement.plist +14 -14
  82. package/ios/AppIceReactPlugin.xcodeproj/xcuserdata/artherajesh.xcuserdatad/xcschemes/xcschememanagement.plist +14 -14
  83. package/ios/AppIceReactPlugin.xcworkspace/contents.xcworkspacedata +10 -10
  84. package/ios/AppIceReactPlugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
  85. package/ios/Podfile +10 -10
  86. package/ios/Podfile.lock +3 -3
  87. package/ios/Pods/Manifest.lock +3 -3
  88. package/ios/Pods/Pods.xcodeproj/project.pbxproj +395 -395
  89. package/ios/Pods/Pods.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/Pods-AppIceReactPlugin.xcscheme +58 -58
  90. package/ios/Pods/Pods.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/xcschememanagement.plist +18 -18
  91. package/ios/Pods/Pods.xcodeproj/xcuserdata/artherajesh.xcuserdatad/xcschemes/xcschememanagement.plist +14 -14
  92. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-Info.plist +26 -26
  93. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-acknowledgements.markdown +3 -3
  94. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-acknowledgements.plist +29 -29
  95. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-dummy.m +5 -5
  96. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-umbrella.h +16 -16
  97. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.debug.xcconfig +6 -6
  98. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.modulemap +6 -6
  99. package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.release.xcconfig +6 -6
  100. package/package.json +42 -42
  101. package/reactnative-plugin-appice.podspec +30 -30
  102. package/example/android/.gradle/7.3.3/checksums/checksums.lock +0 -0
  103. package/example/android/.gradle/7.3.3/fileChanges/last-build.bin +0 -0
  104. package/example/android/.gradle/7.3.3/fileHashes/fileHashes.lock +0 -0
  105. package/example/android/.gradle/7.3.3/gc.properties +0 -0
  106. package/example/android/.gradle/vcs-1/gc.properties +0 -0
@@ -1,164 +1,138 @@
1
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
- package="com.reactlibrary">
3
-
4
- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
5
- <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
6
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
7
- <uses-permission android:name="android.permission.INTERNET" />
8
- <uses-permission android:name="android.permission.VIBRATE" />
9
-
10
- <uses-permission android:name="android.permission.WAKE_LOCK" />
11
- <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
12
- <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
13
-
14
- <uses-permission android:name="com.google.android.gms.permission.AD_ID" />
15
-
16
- <application>
17
- <service
18
- android:protectionLevel="signature"
19
- android:name="com.reactlibrary.NotificationEventService"
20
- android:exported="false">
21
- <intent-filter>
22
- <action android:name="com.appice.campaignEvent" />
23
- </intent-filter>
24
- </service>
25
-
26
- <receiver
27
- android:protectionLevel="signature"
28
- android:name="com.reactlibrary.CampaignCampsReceiver"
29
- android:exported="false">
30
- <intent-filter>
31
- <action android:name="com.appice.campaignEvent" />
32
- </intent-filter>
33
- </receiver>
34
-
35
- <!-- Semusi setup start -->
36
- <service
37
- android:name="semusi.activitysdk.Api"
38
- android:exported="false"
39
- android:protectionLevel="signature" />
40
-
41
- <activity
42
- android:name="semusi.context.ui.UIEventsHandler"
43
- android:exported="false"
44
- android:protectionLevel="signature"
45
- android:theme="@android:style/Theme.Translucent.NoTitleBar" />
46
-
47
- <activity
48
- android:protectionLevel="signature"
49
- android:name="semusi.context.ui.AppICENotifUI"
50
- android:exported="false">
51
- <intent-filter>
52
- <action android:name="AppICE.Notification.FCM_Action" />
53
- <category android:name="android.intent.category.DEFAULT" />
54
- </intent-filter>
55
-
56
- <intent-filter>
57
- <action android:name="android.intent.action.VIEW" />
58
-
59
- <category android:name="android.intent.category.DEFAULT" />
60
- <category android:name="android.intent.category.BROWSABLE" />
61
-
62
- <data
63
- android:host="ai.io"
64
- android:scheme="https" />
65
- </intent-filter>
66
- </activity>
67
-
68
- <service
69
- android:name="semusi.ruleengine.pushmanager.SdkFcmListenerService"
70
- android:exported="false"
71
- android:protectionLevel="signature">
72
- <intent-filter>
73
- <action android:name="com.google.firebase.MESSAGING_EVENT" />
74
- </intent-filter>
75
- </service>
76
-
77
- <receiver
78
- android:name="semusi.context.counthandler.DataBackupReceiver"
79
- android:exported="false"
80
- android:protectionLevel="signature">
81
- <intent-filter android:priority="9999">
82
- <action android:name="android.intent.action.PACKAGE_ADDED" />
83
- <action android:name="android.intent.action.PACKAGE_REMOVED" />
84
- <action android:name="android.intent.action.PACKAGE_REPLACED" />
85
-
86
- <data android:scheme="package" />
87
- </intent-filter>
88
- </receiver>
89
-
90
- <receiver
91
- android:name="semusi.context.counthandler.DataSyncReceiver"
92
- android:exported="false"
93
- android:protectionLevel="signature" />
94
- <receiver
95
- android:name="semusi.context.counthandler.TimeTickReceiver"
96
- android:exported="false"
97
- android:protectionLevel="signature" />
98
- <receiver
99
- android:name="semusi.context.counthandler.NotificationEventReceiver"
100
- android:exported="false"
101
- android:protectionLevel="signature" />
102
- <receiver
103
- android:name="semusi.context.counthandler.ActionEventReceiver"
104
- android:exported="false"
105
- android:protectionLevel="signature" />
106
- <receiver
107
- android:name="semusi.analytics.handler.SessionReceiver"
108
- android:exported="false"
109
- android:protectionLevel="signature" />
110
-
111
- <receiver
112
- android:name="semusi.context.counthandler.DeviceBootReceiver"
113
- android:exported="false"
114
- android:protectionLevel="signature">
115
- <intent-filter>
116
- <action android:name="android.intent.action.BOOT_COMPLETED" />
117
- <action android:name="android.intent.action.QUICKBOOT_POWERON" />
118
- <action android:name="com.htc.intent.action.QUICKBOOT_POWERON" />
119
- </intent-filter>
120
- </receiver>
121
-
122
- <service
123
- android:protectionLevel="signature"
124
- android:name="semusi.ruleengine.pushmanager.NotificationEventService"
125
- android:permission="android.permission.BIND_JOB_SERVICE"></service>
126
- <!-- Semusi setup end -->
127
- <!-- Semusi Job Start -->
128
-
129
- <receiver
130
- android:protectionLevel="signature"
131
- android:name="semusi.context.ui.Carousel.CarouselEventReceiver"
132
- android:exported="false">
133
- <intent-filter>
134
- <action android:name="io.appice.CAROUSELNOTIFICATIONFIRED" />
135
- </intent-filter>
136
- </receiver>
137
-
138
-
139
- <!--</receiver>-->
140
- <receiver
141
- android:protectionLevel="signature"
142
- android:name="semusi.geofencing.AIGeofenceReceiver"
143
- android:exported="false"></receiver>
144
-
145
- <receiver
146
- android:protectionLevel="signature"
147
- android:name="semusi.geofencing.LocationUpdateReceiver"
148
- android:exported="false"></receiver>
149
-
150
- <receiver
151
- android:protectionLevel="signature"
152
- android:name="semusi.geofencing.AIGeofenceBootReceiver"
153
- android:exported="false">
154
- <intent-filter>
155
- <action android:name="android.location.PROVIDERS_CHANGED" />
156
- <action android:name="android.intent.action.BOOT_COMPLETED" />
157
- </intent-filter>
158
- </receiver>
159
- <receiver
160
- android:exported="false"
161
- android:protectionLevel="signature"
162
- android:name="semusi.geofencing.GeofenceReceiver" />
163
- </application>
164
- </manifest>
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
+ package="com.reactlibrary">
3
+
4
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
5
+ <uses-permission android:name="android.permission.INTERNET" />
6
+ <uses-permission android:name="android.permission.VIBRATE" />
7
+
8
+ <uses-permission android:name="android.permission.WAKE_LOCK" />
9
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
10
+ <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
11
+
12
+ <uses-permission android:name="com.google.android.gms.permission.AD_ID" />
13
+
14
+ <application>
15
+ <service
16
+ android:protectionLevel="signature"
17
+ android:name="com.reactlibrary.NotificationEventService"
18
+ android:exported="false">
19
+ <intent-filter>
20
+ <action android:name="com.appice.campaignEvent" />
21
+ </intent-filter>
22
+ </service>
23
+
24
+ <receiver
25
+ android:protectionLevel="signature"
26
+ android:name="com.reactlibrary.CampaignCampsReceiver"
27
+ android:exported="false">
28
+ <intent-filter>
29
+ <action android:name="com.appice.campaignEvent" />
30
+ </intent-filter>
31
+ </receiver>
32
+
33
+ <!-- Semusi setup start -->
34
+ <service
35
+ android:name="semusi.activitysdk.Api"
36
+ android:exported="false"
37
+ android:protectionLevel="signature" />
38
+
39
+ <activity
40
+ android:name="semusi.context.ui.UIEventsHandler"
41
+ android:exported="false"
42
+ android:protectionLevel="signature"
43
+ android:theme="@android:style/Theme.Translucent.NoTitleBar" />
44
+
45
+ <activity
46
+ android:protectionLevel="signature"
47
+ android:name="semusi.context.ui.AppICENotifUI"
48
+ android:exported="false">
49
+ <intent-filter>
50
+ <action android:name="AppICE.Notification.FCM_Action" />
51
+ <category android:name="android.intent.category.DEFAULT" />
52
+ </intent-filter>
53
+
54
+ <intent-filter>
55
+ <action android:name="android.intent.action.VIEW" />
56
+
57
+ <category android:name="android.intent.category.DEFAULT" />
58
+ <category android:name="android.intent.category.BROWSABLE" />
59
+
60
+ <data
61
+ android:host="ai.io"
62
+ android:scheme="https" />
63
+ </intent-filter>
64
+ </activity>
65
+
66
+ <service
67
+ android:name="semusi.ruleengine.pushmanager.SdkFcmListenerService"
68
+ android:exported="false"
69
+ android:protectionLevel="signature">
70
+ <intent-filter>
71
+ <action android:name="com.google.firebase.MESSAGING_EVENT" />
72
+ </intent-filter>
73
+ </service>
74
+
75
+ <receiver
76
+ android:name="semusi.context.counthandler.DataBackupReceiver"
77
+ android:exported="false"
78
+ android:protectionLevel="signature">
79
+ <intent-filter android:priority="9999">
80
+ <action android:name="android.intent.action.PACKAGE_ADDED" />
81
+ <action android:name="android.intent.action.PACKAGE_REMOVED" />
82
+ <action android:name="android.intent.action.PACKAGE_REPLACED" />
83
+
84
+ <data android:scheme="package" />
85
+ </intent-filter>
86
+ </receiver>
87
+
88
+ <receiver
89
+ android:name="semusi.context.counthandler.DataSyncReceiver"
90
+ android:exported="false"
91
+ android:protectionLevel="signature" />
92
+ <receiver
93
+ android:name="semusi.context.counthandler.TimeTickReceiver"
94
+ android:exported="false"
95
+ android:protectionLevel="signature" />
96
+ <receiver
97
+ android:name="semusi.context.counthandler.NotificationEventReceiver"
98
+ android:exported="false"
99
+ android:protectionLevel="signature" />
100
+ <receiver
101
+ android:name="semusi.context.counthandler.ActionEventReceiver"
102
+ android:exported="false"
103
+ android:protectionLevel="signature" />
104
+ <receiver
105
+ android:name="semusi.analytics.handler.SessionReceiver"
106
+ android:exported="false"
107
+ android:protectionLevel="signature" />
108
+
109
+ <receiver
110
+ android:name="semusi.context.counthandler.DeviceBootReceiver"
111
+ android:exported="false"
112
+ android:protectionLevel="signature">
113
+ <intent-filter>
114
+ <action android:name="android.intent.action.BOOT_COMPLETED" />
115
+ <action android:name="android.intent.action.QUICKBOOT_POWERON" />
116
+ <action android:name="com.htc.intent.action.QUICKBOOT_POWERON" />
117
+ </intent-filter>
118
+ </receiver>
119
+
120
+ <service
121
+ android:protectionLevel="signature"
122
+ android:name="semusi.ruleengine.pushmanager.NotificationEventService"
123
+ android:permission="android.permission.BIND_JOB_SERVICE"></service>
124
+ <!-- Semusi setup end -->
125
+ <!-- Semusi Job Start -->
126
+
127
+ <receiver
128
+ android:protectionLevel="signature"
129
+ android:name="semusi.context.ui.Carousel.CarouselEventReceiver"
130
+ android:exported="false">
131
+ <intent-filter>
132
+ <action android:name="io.appice.CAROUSELNOTIFICATIONFIRED" />
133
+ </intent-filter>
134
+ </receiver>
135
+
136
+
137
+ </application>
138
+ </manifest>