airbridge-react-native-sdk-restricted 4.7.0 → 4.7.1

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.
@@ -183,6 +183,9 @@ jobs:
183
183
  cache: 'npm'
184
184
  cache-dependency-path: '**/package-lock.json'
185
185
 
186
+ - name: Install missing iOS SDK platform
187
+ run: sudo xcodebuild -downloadPlatform iOS
188
+
186
189
  - name: Cache CocoaPods
187
190
  uses: actions/cache@v4
188
191
  with:
@@ -261,6 +264,9 @@ jobs:
261
264
  cache: 'npm'
262
265
  cache-dependency-path: '**/package-lock.json'
263
266
 
267
+ - name: Install missing iOS SDK platform
268
+ run: sudo xcodebuild -downloadPlatform iOS
269
+
264
270
  - name: Cache CocoaPods
265
271
  uses: actions/cache@v4
266
272
  with:
@@ -51,7 +51,7 @@ internal class RegisterInteractor(
51
51
 
52
52
  when(value.type) {
53
53
  ReadableType.Number -> Airbridge.setUserAttribute(key, value.asDouble())
54
- ReadableType.String -> Airbridge.setUserAttribute(key, value.asString())
54
+ ReadableType.String -> value.asString()?.run { Airbridge.setUserAttribute(key, this) }
55
55
  ReadableType.Boolean -> Airbridge.setUserAttribute(key, value.asBoolean())
56
56
  else -> {}
57
57
  }
package/changelog.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 4.7.1
2
+
3
+ **FIXED**
4
+ * Fixed compatibility with `asString()` method changes in React Native 0.80's null safety updates.
5
+
1
6
  ## 4.7.0
2
7
 
3
8
  **ADDED**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "airbridge-react-native-sdk-restricted",
3
- "version": "4.7.0",
3
+ "version": "4.7.1",
4
4
  "description": "Airbridge SDK for React Native",
5
5
  "main": "build/source/module.js",
6
6
  "types": "build/source/module.d.ts",
@@ -43,7 +43,7 @@
43
43
  }
44
44
  },
45
45
  "..": {
46
- "version": "4.7.0",
46
+ "version": "4.7.1",
47
47
  "license": "MIT",
48
48
  "devDependencies": {
49
49
  "@types/jest": "^29.5.12",