react-native-insider 6.8.3-nh → 6.8.3

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.
@@ -35,7 +35,7 @@ repositories {
35
35
 
36
36
  dependencies {
37
37
  implementation "com.facebook.react:react-native:${getVersionFromPartner('reactNativeVersion', '+')}"
38
- implementation ('com.useinsider:insider:14.10.4-nh')
38
+ implementation ('com.useinsider:insider:14.10.4')
39
39
  implementation ('com.useinsider:insiderhybrid:1.3.2')
40
40
 
41
41
  implementation 'androidx.security:security-crypto:1.1.0-alpha06'
@@ -46,4 +46,8 @@ dependencies {
46
46
  implementation 'com.google.firebase:firebase-messaging:24.0.0'
47
47
  implementation 'com.google.android.gms:play-services-location:21.3.0'
48
48
  implementation 'com.google.android.play:review:2.0.1'
49
+
50
+ implementation 'com.huawei.hms:push:6.12.0.300'
51
+ implementation 'com.huawei.hms:ads-identifier:3.4.62.300'
52
+ implementation 'com.huawei.hms:location:6.11.0.301'
49
53
  }
@@ -745,6 +745,10 @@ public class RNInsiderModule extends ReactContextBaseJavaModule {
745
745
  }
746
746
  String provider = Insider.Instance.getCurrentProvider(reactContext);
747
747
  switch (provider) {
748
+ case "huawei":
749
+ com.huawei.hms.push.RemoteMessage hmsRemoteMessage = new com.huawei.hms.push.RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
750
+ Insider.Instance.handleHMSNotification(reactContext, hmsRemoteMessage);
751
+ break;
748
752
  case "other":
749
753
  case "google":
750
754
  RemoteMessage fcmRemoteMessage = new RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-insider",
3
- "version": "6.8.3-nh",
3
+ "version": "6.8.3",
4
4
  "description": "React Native Insider SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",