react-native-insider 8.0.2 → 8.0.3-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/.orbit-output/config/MASTER.md +7 -7
- package/.orbit-output/config/architecture/API_DOCS.md +2 -2
- package/.orbit-output/config/architecture/ARCHITECTURE.md +7 -7
- package/.orbit-output/config/architecture/CODE-CATALOG.md +4 -4
- package/.orbit-output/config/architecture/project.yaml +3 -3
- package/RNInsider.podspec +2 -2
- package/android/build.gradle +1 -6
- package/android/src/main/java/com/useinsider/react/RNInsiderModule.java +0 -4
- package/package.json +4 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# MASTER.md — Single Source of Truth
|
|
2
2
|
|
|
3
|
-
> react-native-insider | Generated by Orbit Init | 2026-04-16
|
|
3
|
+
> react-native-insider v8.0.3 | Generated by Orbit Init | 2026-04-16 (synced 2026-06-29)
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -18,10 +18,10 @@ React Native bridge SDK (`react-native-insider`) wrapping native Insider iOS/And
|
|
|
18
18
|
| Android Native | Java | — |
|
|
19
19
|
| Framework | React Native | 0.83.0 |
|
|
20
20
|
| React | React | 19.2.0 |
|
|
21
|
-
| iOS SDK | InsiderMobile | 15.
|
|
21
|
+
| iOS SDK | InsiderMobile | 15.1.0 |
|
|
22
22
|
| iOS Geofence | InsiderGeofence | 1.2.4 |
|
|
23
23
|
| iOS Hybrid | InsiderHybrid | 1.7.6 |
|
|
24
|
-
| Android SDK | com.useinsider:insider | 16.0.
|
|
24
|
+
| Android SDK | com.useinsider:insider | 16.0.7 |
|
|
25
25
|
| Android Hybrid | com.useinsider:insiderhybrid | 1.3.4 |
|
|
26
26
|
| Testing | Jest | 29.7.0 |
|
|
27
27
|
| Build | Babel + @react-native/babel-preset | 0.83.0 |
|
|
@@ -116,14 +116,14 @@ React Native bridge SDK (`react-native-insider`) wrapping native Insider iOS/And
|
|
|
116
116
|
|
|
117
117
|
## Version Management
|
|
118
118
|
|
|
119
|
-
- Source of truth: `package.json` → version (currently 8.0.
|
|
119
|
+
- Source of truth: `package.json` → version (currently 8.0.3)
|
|
120
120
|
- iOS: `RNInsider.podspec` reads from package.json
|
|
121
|
-
- Android: `build.gradle` has pinned native SDK versions (insider:16.0.
|
|
122
|
-
- SDK string: `'RN-' + version` (e.g., RN-8.0.
|
|
121
|
+
- Android: `build.gradle` has pinned native SDK versions (insider:16.0.7)
|
|
122
|
+
- SDK string: `'RN-' + version` (e.g., RN-8.0.3)
|
|
123
123
|
- Release: `release/X.Y.Z` branch → master merge → npm publish
|
|
124
124
|
- Dual-track: main + `-nh` (non-Huawei) variant
|
|
125
125
|
- PR titles must contain `MOB-[0-9]+`
|
|
126
126
|
|
|
127
127
|
---
|
|
128
128
|
|
|
129
|
-
*Auto-generated by Orbit Init v3.11 | 2026-04-16*
|
|
129
|
+
*Auto-generated by Orbit Init v3.11 | 2026-04-16 (synced 2026-06-12)*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# API_DOCS.md
|
|
2
2
|
|
|
3
|
-
> Generated by Orbit Init | 2026-04-16 | react-native-insider v8.0.
|
|
3
|
+
> Generated by Orbit Init | 2026-04-16 (synced 2026-06-29) | react-native-insider v8.0.3
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
@@ -39,7 +39,7 @@ This SDK exposes a **React Native NativeModules bridge** — not HTTP endpoints.
|
|
|
39
39
|
┌──────────┐ ┌──────────┐
|
|
40
40
|
│ Insider │ │ Insider │
|
|
41
41
|
│ Mobile │ │ SDK │
|
|
42
|
-
│ 15.
|
|
42
|
+
│ 15.1.0 │ │ 16.0.7 │
|
|
43
43
|
└──────────┘ └──────────┘
|
|
44
44
|
```
|
|
45
45
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# ARCHITECTURE.md
|
|
2
2
|
|
|
3
|
-
> Generated by Orbit Init | 2026-04-16 | react-native-insider v8.0.
|
|
3
|
+
> Generated by Orbit Init | 2026-04-16 (synced 2026-06-29) | react-native-insider v8.0.3
|
|
4
4
|
|
|
5
5
|
## Project Summary
|
|
6
6
|
|
|
7
7
|
| Property | Value |
|
|
8
8
|
|----------|-------|
|
|
9
9
|
| Name | react-native-insider |
|
|
10
|
-
| Version | 8.0.
|
|
10
|
+
| Version | 8.0.3 |
|
|
11
11
|
| Type | React Native Bridge SDK (npm library) |
|
|
12
12
|
| Architecture | Single service (one npm package) |
|
|
13
13
|
| Main Languages | JavaScript, TypeScript (declarations), Objective-C (iOS), Java (Android) |
|
|
14
14
|
| Frameworks | React Native 0.83.0, React 19.2.0 |
|
|
15
|
-
| Native SDKs | InsiderMobile 15.
|
|
15
|
+
| Native SDKs | InsiderMobile 15.1.0 (iOS), Insider 16.0.7 (Android) |
|
|
16
16
|
| Testing | Jest 29.7.0 (react-native preset) |
|
|
17
17
|
| CI/CD | GitHub Actions (3 workflows) |
|
|
18
18
|
| Publish | npm registry (dual-track: main + -nh variant) |
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
│ Handler.m │ │ .java │
|
|
61
61
|
│ RNUtils.m │ │ RNUtils.java │
|
|
62
62
|
│ │ │ │
|
|
63
|
-
│ InsiderMobile │ │ insider:16.0.
|
|
64
|
-
│ 15.
|
|
63
|
+
│ InsiderMobile │ │ insider:16.0.7 │
|
|
64
|
+
│ 15.1.0 │ │ insiderhybrid:1.3.4 │
|
|
65
65
|
│ InsiderGeofence │ │ firebase-messaging │
|
|
66
66
|
│ 1.2.4 │ │ play-services │
|
|
67
67
|
│ InsiderHybrid │ │ huawei-hms │
|
|
@@ -126,7 +126,7 @@ Every public method follows: `shouldNotProceed()` → `checkParameters()` → `s
|
|
|
126
126
|
./
|
|
127
127
|
├── index.js # Main entry — RNInsider static class
|
|
128
128
|
├── index.d.ts # TypeScript module declaration
|
|
129
|
-
├── package.json # npm config, version source of truth (8.0.
|
|
129
|
+
├── package.json # npm config, version source of truth (8.0.3)
|
|
130
130
|
├── RNInsider.podspec # CocoaPods spec (reads version from package.json)
|
|
131
131
|
├── babel.config.js # Babel config
|
|
132
132
|
├── CLAUDE.md # Claude Code guidance
|
|
@@ -203,7 +203,7 @@ Every public method follows: `shouldNotProceed()` → `checkParameters()` → `s
|
|
|
203
203
|
|
|
204
204
|
- **Source of truth**: `package.json` → `version` field
|
|
205
205
|
- **iOS sync**: `RNInsider.podspec` reads version from `package.json`
|
|
206
|
-
- **SDK version string**: JS prepends `'RN-'` prefix (e.g., `RN-8.0.
|
|
206
|
+
- **SDK version string**: JS prepends `'RN-'` prefix (e.g., `RN-8.0.3`)
|
|
207
207
|
- **Release flow**: `release/X.Y.Z` branch → merge to master → GPG-signed tag → npm publish
|
|
208
208
|
- **Dual-track**: Main release + `-nh` variant (non-Huawei) from `develop-nh` branch
|
|
209
209
|
- **PR title format**: Must contain `MOB-[0-9]+` (enforced by CI)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CODE-CATALOG.md
|
|
2
2
|
|
|
3
|
-
> Generated by Orbit Init | 2026-04-16 | react-native-insider v8.0.
|
|
3
|
+
> Generated by Orbit Init | 2026-04-16 (synced 2026-06-29) | react-native-insider v8.0.3
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
@@ -77,7 +77,7 @@ React Native bridge SDK wrapping native Insider iOS/Android SDKs. Single npm pac
|
|
|
77
77
|
|
|
78
78
|
| Pod | Version | Purpose |
|
|
79
79
|
|-----|---------|---------|
|
|
80
|
-
| InsiderMobile | 15.
|
|
80
|
+
| InsiderMobile | 15.1.0 | Core Insider iOS SDK |
|
|
81
81
|
| InsiderGeofence | 1.2.4 | Geofencing support |
|
|
82
82
|
| InsiderHybrid | 1.7.6 | Hybrid app bridge utilities |
|
|
83
83
|
|
|
@@ -95,7 +95,7 @@ React Native bridge SDK wrapping native Insider iOS/Android SDKs. Single npm pac
|
|
|
95
95
|
|
|
96
96
|
| Dependency | Version | Purpose |
|
|
97
97
|
|------------|---------|---------|
|
|
98
|
-
| com.useinsider:insider | 16.0.
|
|
98
|
+
| com.useinsider:insider | 16.0.7 | Core Insider Android SDK |
|
|
99
99
|
| com.useinsider:insiderhybrid | 1.3.4 | Hybrid app bridge |
|
|
100
100
|
| firebase-messaging | 24.0.0 | FCM push notifications |
|
|
101
101
|
| play-services-location | 21.3.0 | Geofencing |
|
|
@@ -165,7 +165,7 @@ Global mock providing: `NativeModules.RNInsider` (all methods as jest.fn() inclu
|
|
|
165
165
|
|
|
166
166
|
| File | Purpose |
|
|
167
167
|
|------|---------|
|
|
168
|
-
| `package.json` | npm package definition (v8.0.
|
|
168
|
+
| `package.json` | npm package definition (v8.0.3), Jest config, version source of truth |
|
|
169
169
|
| `RNInsider.podspec` | CocoaPods spec (reads version from package.json) |
|
|
170
170
|
| `android/build.gradle` | Android library build config, native SDK dependencies |
|
|
171
171
|
| `babel.config.js` | Babel with @react-native/babel-preset |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
project:
|
|
6
6
|
name: react-native-insider
|
|
7
|
-
version: "8.0.
|
|
7
|
+
version: "8.0.3"
|
|
8
8
|
type: library
|
|
9
9
|
architecture: single-service
|
|
10
10
|
description: "React Native bridge SDK for Insider marketing platform — wraps native iOS/Android Insider SDKs and adds the App Cards module"
|
|
@@ -50,7 +50,7 @@ frameworks:
|
|
|
50
50
|
version: "19.2.0"
|
|
51
51
|
category: react
|
|
52
52
|
- name: InsiderMobile
|
|
53
|
-
version: "15.
|
|
53
|
+
version: "15.1.0"
|
|
54
54
|
category: ios-native-sdk
|
|
55
55
|
- name: InsiderGeofence
|
|
56
56
|
version: "1.2.4"
|
|
@@ -59,7 +59,7 @@ frameworks:
|
|
|
59
59
|
version: "1.7.6"
|
|
60
60
|
category: ios-hybrid
|
|
61
61
|
- name: Insider Android SDK
|
|
62
|
-
version: "16.0.
|
|
62
|
+
version: "16.0.7"
|
|
63
63
|
category: android-native-sdk
|
|
64
64
|
- name: insiderhybrid (Android)
|
|
65
65
|
version: "1.3.4"
|
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, '12.0'
|
|
12
|
-
s.source = {:http => 'https://mobilesdk.useinsider.com/iOS/15.0
|
|
12
|
+
s.source = {:http => 'https://mobilesdk.useinsider.com/iOS/15.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', '15.0
|
|
17
|
+
s.dependency 'InsiderMobile', '15.1.0'
|
|
18
18
|
s.dependency 'InsiderGeofence', '1.2.4'
|
|
19
19
|
s.dependency 'InsiderHybrid', '1.7.6'
|
|
20
20
|
|
package/android/build.gradle
CHANGED
|
@@ -2,7 +2,6 @@ buildscript {
|
|
|
2
2
|
repositories {
|
|
3
3
|
google()
|
|
4
4
|
mavenCentral()
|
|
5
|
-
maven { url "https://developer.huawei.com/repo/"}
|
|
6
5
|
}
|
|
7
6
|
|
|
8
7
|
dependencies {
|
|
@@ -40,14 +39,13 @@ android {
|
|
|
40
39
|
repositories {
|
|
41
40
|
google()
|
|
42
41
|
mavenCentral()
|
|
43
|
-
maven { url "https://developer.huawei.com/repo/"}
|
|
44
42
|
maven { url "https://mobilesdk.useinsider.com/android" }
|
|
45
43
|
}
|
|
46
44
|
|
|
47
45
|
|
|
48
46
|
dependencies {
|
|
49
47
|
implementation "com.facebook.react:react-native:${getVersionFromPartner('reactNativeVersion', '+')}"
|
|
50
|
-
implementation 'com.useinsider:insider:16.0.
|
|
48
|
+
implementation 'com.useinsider:insider:16.0.7-nh'
|
|
51
49
|
implementation 'com.useinsider:insiderhybrid:1.3.4'
|
|
52
50
|
|
|
53
51
|
implementation 'androidx.security:security-crypto:1.1.0-alpha06'
|
|
@@ -59,9 +57,6 @@ dependencies {
|
|
|
59
57
|
implementation 'com.google.android.gms:play-services-location:21.3.0'
|
|
60
58
|
implementation 'com.google.android.play:review:2.0.1'
|
|
61
59
|
|
|
62
|
-
implementation 'com.huawei.hms:push:6.13.0.300'
|
|
63
|
-
implementation 'com.huawei.hms:ads-identifier:3.4.62.300'
|
|
64
|
-
implementation 'com.huawei.hms:location:6.16.0.302'
|
|
65
60
|
|
|
66
61
|
testImplementation 'junit:junit:4.13.2'
|
|
67
62
|
testImplementation 'org.mockito:mockito-core:5.12.0'
|
|
@@ -895,10 +895,6 @@ public class RNInsiderModule extends ReactContextBaseJavaModule {
|
|
|
895
895
|
}
|
|
896
896
|
String provider = Insider.Instance.getCurrentProvider(reactContext);
|
|
897
897
|
switch (provider) {
|
|
898
|
-
case "huawei":
|
|
899
|
-
com.huawei.hms.push.RemoteMessage hmsRemoteMessage = new com.huawei.hms.push.RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
|
|
900
|
-
Insider.Instance.handleHMSNotification(reactContext, hmsRemoteMessage);
|
|
901
|
-
break;
|
|
902
898
|
case "other":
|
|
903
899
|
case "google":
|
|
904
900
|
RemoteMessage fcmRemoteMessage = new RemoteMessage.Builder("insider").setData(remoteMessageStringMap).build();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-insider",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.3-nh",
|
|
4
4
|
"description": "React Native Insider SDK",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
"react": "19.2.0",
|
|
30
30
|
"react-native": "0.83.0"
|
|
31
31
|
},
|
|
32
|
+
"overrides": {
|
|
33
|
+
"shell-quote": "^1.8.4"
|
|
34
|
+
},
|
|
32
35
|
"jest": {
|
|
33
36
|
"preset": "react-native",
|
|
34
37
|
"modulePathIgnorePatterns": [
|