react-native-insider 5.4.1 → 5.4.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/RNInsider.podspec
CHANGED
|
@@ -9,11 +9,11 @@ Pod::Spec.new do |s|
|
|
|
9
9
|
s.authors = package_json['author']
|
|
10
10
|
s.license = 'MIT'
|
|
11
11
|
s.platform = :ios, '10.0'
|
|
12
|
-
s.source = {:http => 'https://mobilesdk.useinsider.com/iOS/12.5.
|
|
12
|
+
s.source = {:http => 'https://mobilesdk.useinsider.com/iOS/12.5.6/InsiderMobileIOSFramework.zip'}
|
|
13
13
|
s.source_files = 'ios/RNInsider/*.{h,m}'
|
|
14
14
|
s.requires_arc = true
|
|
15
15
|
s.static_framework = true
|
|
16
16
|
s.dependency 'React'
|
|
17
|
-
s.dependency 'InsiderMobile', '12.5.
|
|
17
|
+
s.dependency 'InsiderMobile', '12.5.6'
|
|
18
18
|
s.dependency 'InsiderHybrid', '1.4.0'
|
|
19
19
|
end
|
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.6.1')
|
|
38
|
+
implementation ('com.useinsider:insider:13.6.1-nh')
|
|
39
39
|
implementation ('com.useinsider:insiderhybrid:1.1.5')
|
|
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
|
}
|
|
@@ -622,10 +622,6 @@ public class RNInsiderModule extends ReactContextBaseJavaModule {
|
|
|
622
622
|
}
|
|
623
623
|
String provider = Insider.Instance.getCurrentProvider(reactContext);
|
|
624
624
|
switch (provider) {
|
|
625
|
-
case "huawei":
|
|
626
|
-
com.huawei.hms.push.RemoteMessage hmsRemoteMessage = new com.huawei.hms.push.RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
|
|
627
|
-
Insider.Instance.handleHMSNotification(reactContext, hmsRemoteMessage);
|
|
628
|
-
break;
|
|
629
625
|
case "other":
|
|
630
626
|
case "google":
|
|
631
627
|
RemoteMessage fcmRemoteMessage = new RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
|