react-native-insider 5.0.0-nh → 5.0.0

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.
@@ -36,7 +36,7 @@ android {
36
36
 
37
37
  dependencies {
38
38
  implementation "com.facebook.react:react-native:${getVersionFromPartner('reactNativeVersion', '+')}"
39
- implementation ('com.useinsider:insider:13.0.1-nh')
39
+ implementation ('com.useinsider:insider:13.0.1')
40
40
  implementation ('com.useinsider:insiderhybrid:1.1.3')
41
41
 
42
42
  implementation 'com.google.android.play:core:1.10.1'
@@ -45,5 +45,9 @@ dependencies {
45
45
  implementation 'com.google.firebase:firebase-messaging:20.0.0'
46
46
  implementation 'com.google.android.gms:play-services-ads:16.0.0'
47
47
  implementation 'androidx.lifecycle:lifecycle-process:2.3.1'
48
+
49
+ implementation 'com.huawei.hms:push:5.3.0.304'
50
+ implementation 'com.huawei.hms:ads-identifier:3.4.34.301'
51
+ implementation 'com.huawei.hms:location:4.0.4.300'
48
52
 
49
53
  }
@@ -592,6 +592,10 @@ public class RNInsiderModule extends ReactContextBaseJavaModule {
592
592
  }
593
593
  String provider = Insider.Instance.getCurrentProvider(reactContext);
594
594
  switch (provider) {
595
+ case "huawei":
596
+ com.huawei.hms.push.RemoteMessage hmsRemoteMessage = new com.huawei.hms.push.RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
597
+ Insider.Instance.handleHMSNotification(reactContext, hmsRemoteMessage);
598
+ break;
595
599
  case "other":
596
600
  case "google":
597
601
  RemoteMessage fcmRemoteMessage = new RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
@@ -1,5 +1,5 @@
1
- 5.0.0-nh RELEASE
1
+ 5.0.0 RELEASE
2
2
 
3
- Updated Android to 13.0.1-nh
3
+ Updated Android to 13.0.1
4
4
  MOB-11126 | Change resumeSessionHybridRequestConfig method name.
5
5
  MOB-10783 | GetMessageCenter startdate&enddate validation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-insider",
3
- "version": "5.0.0-nh",
3
+ "version": "5.0.0",
4
4
  "description": "React Native Insider SDK",
5
5
  "main": "index.js",
6
6
  "keywords": [