react-native-insider 6.8.3 → 6.8.4-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/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/config.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/build.gradle +3 -7
- package/android/local.properties +8 -0
- package/android/src/main/java/com/useinsider/react/RNInsiderModule.java +11 -14
- package/ios/RNInsider.xcodeproj/project.xcworkspace/xcuserdata/ozgur.vatansever.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/RNInsider.xcodeproj/xcuserdata/ozgur.vatansever.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
package/android/build.gradle
CHANGED
|
@@ -19,10 +19,10 @@ def getVersionFromPartner(config, fallback) {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
android {
|
|
22
|
-
compileSdkVersion getVersionFromPartner('compileSdkVersion',
|
|
22
|
+
compileSdkVersion getVersionFromPartner('compileSdkVersion', 36)
|
|
23
23
|
|
|
24
24
|
defaultConfig {
|
|
25
|
-
minSdkVersion getVersionFromPartner('minSdkVersion',
|
|
25
|
+
minSdkVersion getVersionFromPartner('minSdkVersion', 24)
|
|
26
26
|
multiDexEnabled true
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -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:14.10.
|
|
38
|
+
implementation ('com.useinsider:insider:14.10.6-nh')
|
|
39
39
|
implementation ('com.useinsider:insiderhybrid:1.3.2')
|
|
40
40
|
|
|
41
41
|
implementation 'androidx.security:security-crypto:1.1.0-alpha06'
|
|
@@ -46,8 +46,4 @@ dependencies {
|
|
|
46
46
|
implementation 'com.google.firebase:firebase-messaging:24.0.0'
|
|
47
47
|
implementation 'com.google.android.gms:play-services-location:21.3.0'
|
|
48
48
|
implementation 'com.google.android.play:review:2.0.1'
|
|
49
|
-
|
|
50
|
-
implementation 'com.huawei.hms:push:6.12.0.300'
|
|
51
|
-
implementation 'com.huawei.hms:ads-identifier:3.4.62.300'
|
|
52
|
-
implementation 'com.huawei.hms:location:6.11.0.301'
|
|
53
49
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
## This file must *NOT* be checked into Version Control Systems,
|
|
2
|
+
# as it contains information specific to your local configuration.
|
|
3
|
+
#
|
|
4
|
+
# Location of the SDK. This is only used by Gradle.
|
|
5
|
+
# For customization when using a Version Control System, please read the
|
|
6
|
+
# header note.
|
|
7
|
+
#Wed Jul 02 14:27:03 TRT 2025
|
|
8
|
+
sdk.dir=/Users/ozgur.vatansever/Library/Android/sdk
|
|
@@ -72,16 +72,6 @@ public class RNInsiderModule extends ReactContextBaseJavaModule {
|
|
|
72
72
|
new Handler(Looper.getMainLooper()).post(new Runnable() {
|
|
73
73
|
@Override
|
|
74
74
|
public void run() {
|
|
75
|
-
Insider.Instance.init(((Application) reactContext.getApplicationContext()), partnerName);
|
|
76
|
-
Insider.Instance.setSDKType("react-native");
|
|
77
|
-
Insider.Instance.setHybridSDKVersion(sdkVersion);
|
|
78
|
-
|
|
79
|
-
Insider.Instance.resumeSessionHybridConfig(reactContext.getCurrentActivity());
|
|
80
|
-
if (isCoreInited) {
|
|
81
|
-
Insider.Instance.resumeSessionHybridRequestConfig();
|
|
82
|
-
}
|
|
83
|
-
isCoreInited = true;
|
|
84
|
-
|
|
85
75
|
Insider.Instance.registerInsiderCallback(new InsiderCallback() {
|
|
86
76
|
DeviceEventManagerModule.RCTDeviceEventEmitter emitter = getReactApplicationContext()
|
|
87
77
|
.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class);
|
|
@@ -96,6 +86,17 @@ public class RNInsiderModule extends ReactContextBaseJavaModule {
|
|
|
96
86
|
}
|
|
97
87
|
}
|
|
98
88
|
});
|
|
89
|
+
|
|
90
|
+
Insider.Instance.init(((Application) reactContext.getApplicationContext()), partnerName);
|
|
91
|
+
Insider.Instance.setSDKType("react-native");
|
|
92
|
+
Insider.Instance.setHybridSDKVersion(sdkVersion);
|
|
93
|
+
|
|
94
|
+
Insider.Instance.resumeSessionHybridConfig(reactContext.getCurrentActivity());
|
|
95
|
+
if (isCoreInited) {
|
|
96
|
+
Insider.Instance.resumeSessionHybridRequestConfig();
|
|
97
|
+
}
|
|
98
|
+
isCoreInited = true;
|
|
99
|
+
|
|
99
100
|
Insider.Instance.storePartnerName(partnerName);
|
|
100
101
|
}
|
|
101
102
|
});
|
|
@@ -745,10 +746,6 @@ public class RNInsiderModule extends ReactContextBaseJavaModule {
|
|
|
745
746
|
}
|
|
746
747
|
String provider = Insider.Instance.getCurrentProvider(reactContext);
|
|
747
748
|
switch (provider) {
|
|
748
|
-
case "huawei":
|
|
749
|
-
com.huawei.hms.push.RemoteMessage hmsRemoteMessage = new com.huawei.hms.push.RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
|
|
750
|
-
Insider.Instance.handleHMSNotification(reactContext, hmsRemoteMessage);
|
|
751
|
-
break;
|
|
752
749
|
case "other":
|
|
753
750
|
case "google":
|
|
754
751
|
RemoteMessage fcmRemoteMessage = new RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
|
|
Binary file
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>SchemeUserState</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>RNInsider.xcscheme_^#shared#^_</key>
|
|
8
|
+
<dict>
|
|
9
|
+
<key>orderHint</key>
|
|
10
|
+
<integer>0</integer>
|
|
11
|
+
</dict>
|
|
12
|
+
</dict>
|
|
13
|
+
</dict>
|
|
14
|
+
</plist>
|