react-native-insider 5.2.1 → 5.2.2-nh
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.
package/android/build.gradle
CHANGED
|
@@ -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:13.4.
|
|
38
|
+
implementation ('com.useinsider:insider:13.4.2-nh')
|
|
39
39
|
implementation ('com.useinsider:insiderhybrid:1.1.4')
|
|
40
40
|
|
|
41
41
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
@@ -43,8 +43,4 @@ dependencies {
|
|
|
43
43
|
implementation 'com.google.android.gms:play-services-ads:21.0.0'
|
|
44
44
|
implementation 'com.google.firebase:firebase-messaging:23.0.5'
|
|
45
45
|
implementation 'androidx.lifecycle:lifecycle-process:2.4.1'
|
|
46
|
-
|
|
47
|
-
implementation 'com.huawei.hms:push:6.5.0.300'
|
|
48
|
-
implementation 'com.huawei.hms:ads-identifier:3.4.39.302'
|
|
49
|
-
implementation 'com.huawei.hms:location:6.4.0.300'
|
|
50
46
|
}
|
|
@@ -601,10 +601,6 @@ public class RNInsiderModule extends ReactContextBaseJavaModule {
|
|
|
601
601
|
}
|
|
602
602
|
String provider = Insider.Instance.getCurrentProvider(reactContext);
|
|
603
603
|
switch (provider) {
|
|
604
|
-
case "huawei":
|
|
605
|
-
com.huawei.hms.push.RemoteMessage hmsRemoteMessage = new com.huawei.hms.push.RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
|
|
606
|
-
Insider.Instance.handleHMSNotification(reactContext, hmsRemoteMessage);
|
|
607
|
-
break;
|
|
608
604
|
case "other":
|
|
609
605
|
case "google":
|
|
610
606
|
RemoteMessage fcmRemoteMessage = new RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
|