react-native-insider 6.0.0 → 6.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/RNInsider.podspec
CHANGED
|
@@ -9,12 +9,12 @@ 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/13.
|
|
12
|
+
s.source = {:http => 'https://mobilesdk.useinsider.com/iOS/13.1.0/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', '13.
|
|
17
|
+
s.dependency 'InsiderMobile', '13.1.0'
|
|
18
18
|
s.dependency 'InsiderGeofence', '1.0.3'
|
|
19
19
|
s.dependency 'InsiderHybrid', '1.4.0'
|
|
20
20
|
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.8.
|
|
38
|
+
implementation ('com.useinsider:insider:13.8.7-nh')
|
|
39
39
|
implementation ('com.useinsider:insiderhybrid:1.1.5')
|
|
40
40
|
|
|
41
41
|
implementation "androidx.security:security-crypto:1.0.0"
|
|
@@ -45,8 +45,4 @@ dependencies {
|
|
|
45
45
|
implementation 'com.google.android.gms:play-services-location:21.0.1'
|
|
46
46
|
implementation 'com.google.android.play:core-ktx:1.8.1'
|
|
47
47
|
implementation 'com.google.firebase:firebase-messaging:23.0.5'
|
|
48
|
-
|
|
49
|
-
implementation 'com.huawei.hms:push:6.5.0.300'
|
|
50
|
-
implementation 'com.huawei.hms:ads-identifier:3.4.39.302'
|
|
51
|
-
implementation 'com.huawei.hms:location:6.4.0.300'
|
|
52
48
|
}
|
|
@@ -621,10 +621,6 @@ public class RNInsiderModule extends ReactContextBaseJavaModule {
|
|
|
621
621
|
}
|
|
622
622
|
String provider = Insider.Instance.getCurrentProvider(reactContext);
|
|
623
623
|
switch (provider) {
|
|
624
|
-
case "huawei":
|
|
625
|
-
com.huawei.hms.push.RemoteMessage hmsRemoteMessage = new com.huawei.hms.push.RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
|
|
626
|
-
Insider.Instance.handleHMSNotification(reactContext, hmsRemoteMessage);
|
|
627
|
-
break;
|
|
628
624
|
case "other":
|
|
629
625
|
case "google":
|
|
630
626
|
RemoteMessage fcmRemoteMessage = new RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
|
|
@@ -30,7 +30,7 @@ RCT_EXPORT_METHOD(initWithLaunchOptions:(NSDictionary *)launchOptions partnerNam
|
|
|
30
30
|
[Insider registerInsiderCallbackWithSelector:@selector(emitEvent:) sender:self];
|
|
31
31
|
[Insider setHybridSDKVersion:sdkVersion];
|
|
32
32
|
[Insider initWithLaunchOptions:nil partnerName:partnerName appGroup:appGroup];
|
|
33
|
-
[Insider
|
|
33
|
+
[Insider hybridApplicationDidBecomeActive];
|
|
34
34
|
} @catch (NSException *e){
|
|
35
35
|
[Insider sendError:e desc:[NSString stringWithFormat:@"%s:%d", __func__, __LINE__]];
|
|
36
36
|
}
|
|
@@ -41,7 +41,7 @@ RCT_EXPORT_METHOD(initWithCustomEndpoint:(NSDictionary *)launchOptions partnerNa
|
|
|
41
41
|
[Insider registerInsiderCallbackWithSelector:@selector(emitEvent:) sender:self];
|
|
42
42
|
[Insider setHybridSDKVersion:sdkVersion];
|
|
43
43
|
[Insider initWithLaunchOptions:nil partnerName:partnerName appGroup:appGroup customEndpoint:endpoint];
|
|
44
|
-
[Insider
|
|
44
|
+
[Insider hybridApplicationDidBecomeActive];
|
|
45
45
|
} @catch (NSException *e) {
|
|
46
46
|
[Insider sendError:e desc:[NSString stringWithFormat:@"%s:%d", __func__, __LINE__]];
|
|
47
47
|
}
|