react-native-insider 5.0.0 → 5.0.1-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
|
@@ -36,18 +36,14 @@ android {
|
|
|
36
36
|
|
|
37
37
|
dependencies {
|
|
38
38
|
implementation "com.facebook.react:react-native:${getVersionFromPartner('reactNativeVersion', '+')}"
|
|
39
|
-
implementation ('com.useinsider:insider:13.0.
|
|
39
|
+
implementation ('com.useinsider:insider:13.0.2-nh')
|
|
40
40
|
implementation ('com.useinsider:insiderhybrid:1.1.3')
|
|
41
41
|
|
|
42
|
-
implementation 'com.google.android.play:core:1.10.
|
|
42
|
+
implementation 'com.google.android.play:core:1.10.3'
|
|
43
43
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
44
44
|
implementation 'com.google.android.gms:play-services-location:17.0.0'
|
|
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'
|
|
52
48
|
|
|
53
49
|
}
|
|
@@ -592,10 +592,6 @@ 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;
|
|
599
595
|
case "other":
|
|
600
596
|
case "google":
|
|
601
597
|
RemoteMessage fcmRemoteMessage = new RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
2
|
+
"name": "react-native-insider",
|
|
3
|
+
"version": "5.0.1-nh",
|
|
4
|
+
"description": "React Native Insider SDK",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"react-native",
|
|
8
|
+
"ios",
|
|
9
|
+
"android",
|
|
10
|
+
"notifications",
|
|
11
|
+
"push",
|
|
12
|
+
"apns",
|
|
13
|
+
"fcm",
|
|
14
|
+
"insider"
|
|
15
|
+
],
|
|
16
|
+
"author": "insidermobile",
|
|
17
|
+
"homepage": "https://github.com/useinsider/react-native-insider"
|
|
18
18
|
}
|