@shortkitsdk/react-native 0.2.26 → 0.2.27

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.
Binary file
@@ -191,10 +191,16 @@ import ShortKitSDK
191
191
  addSubview(feedVC.view)
192
192
  feedVC.didMove(toParent: parentVC)
193
193
 
194
- // Fabric sets props BEFORE didMoveToWindow, so active=false may have
195
- // fired its didSet while feedViewController was still nil. Apply now.
196
- if isActiveManagedByProp && !active, let feedVC = feedViewController {
197
- feedVC.deactivate()
194
+ // With FVC.viewDidAppear no longer self-claiming for bridge-managed
195
+ // surfaces, the bridge is the sole authority on claim timing. Mirror
196
+ // the reattach path: explicitly activate iff the RN `active` prop
197
+ // is true. If the prop is false (e.g. user is on a different tab
198
+ // while this FVC was created to handle a delayed API response), the
199
+ // FVC stays idle — no claim, no pool mutation, no hijack. A later
200
+ // prop change to active=true triggers `feedVC.activate()` via the
201
+ // prop's didSet.
202
+ if active {
203
+ feedVC.activate()
198
204
  }
199
205
  }
200
206
 
@@ -8,32 +8,32 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>ShortKitSDK.framework/ShortKitSDK</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64_x86_64-simulator</string>
11
+ <string>ios-arm64</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>ShortKitSDK.framework</string>
14
14
  <key>SupportedArchitectures</key>
15
15
  <array>
16
16
  <string>arm64</string>
17
- <string>x86_64</string>
18
17
  </array>
19
18
  <key>SupportedPlatform</key>
20
19
  <string>ios</string>
21
- <key>SupportedPlatformVariant</key>
22
- <string>simulator</string>
23
20
  </dict>
24
21
  <dict>
25
22
  <key>BinaryPath</key>
26
23
  <string>ShortKitSDK.framework/ShortKitSDK</string>
27
24
  <key>LibraryIdentifier</key>
28
- <string>ios-arm64</string>
25
+ <string>ios-arm64_x86_64-simulator</string>
29
26
  <key>LibraryPath</key>
30
27
  <string>ShortKitSDK.framework</string>
31
28
  <key>SupportedArchitectures</key>
32
29
  <array>
33
30
  <string>arm64</string>
31
+ <string>x86_64</string>
34
32
  </array>
35
33
  <key>SupportedPlatform</key>
36
34
  <string>ios</string>
35
+ <key>SupportedPlatformVariant</key>
36
+ <string>simulator</string>
37
37
  </dict>
38
38
  </array>
39
39
  <key>CFBundlePackageType</key>
@@ -11,9 +11,9 @@
11
11
  <key>CFBundlePackageType</key>
12
12
  <string>FMWK</string>
13
13
  <key>CFBundleVersion</key>
14
- <string>0.2.26</string>
14
+ <string>0.2.27</string>
15
15
  <key>CFBundleShortVersionString</key>
16
- <string>0.2.26</string>
16
+ <string>0.2.27</string>
17
17
  <key>MinimumOSVersion</key>
18
18
  <string>16.0</string>
19
19
  </dict>
@@ -44090,7 +44090,7 @@
44090
44090
  {
44091
44091
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedCell.swift",
44092
44092
  "kind": "StringLiteral",
44093
- "offset": 10044,
44093
+ "offset": 10653,
44094
44094
  "length": 3,
44095
44095
  "value": "\"?\""
44096
44096
  },
@@ -44255,66 +44255,73 @@
44255
44255
  "length": 1,
44256
44256
  "value": "0"
44257
44257
  },
44258
+ {
44259
+ "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44260
+ "kind": "BooleanLiteral",
44261
+ "offset": 8785,
44262
+ "length": 5,
44263
+ "value": "false"
44264
+ },
44258
44265
  {
44259
44266
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44260
44267
  "kind": "IntegerLiteral",
44261
- "offset": 7789,
44268
+ "offset": 8967,
44262
44269
  "length": 2,
44263
44270
  "value": "-1"
44264
44271
  },
44265
44272
  {
44266
44273
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44267
44274
  "kind": "IntegerLiteral",
44268
- "offset": 8037,
44275
+ "offset": 9215,
44269
44276
  "length": 1,
44270
44277
  "value": "0"
44271
44278
  },
44272
44279
  {
44273
44280
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44274
44281
  "kind": "IntegerLiteral",
44275
- "offset": 8087,
44282
+ "offset": 9265,
44276
44283
  "length": 1,
44277
44284
  "value": "0"
44278
44285
  },
44279
44286
  {
44280
44287
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44281
44288
  "kind": "IntegerLiteral",
44282
- "offset": 8141,
44289
+ "offset": 9319,
44283
44290
  "length": 1,
44284
44291
  "value": "0"
44285
44292
  },
44286
44293
  {
44287
44294
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44288
44295
  "kind": "FloatLiteral",
44289
- "offset": 8201,
44296
+ "offset": 9379,
44290
44297
  "length": 3,
44291
44298
  "value": "0.2"
44292
44299
  },
44293
44300
  {
44294
44301
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44295
44302
  "kind": "IntegerLiteral",
44296
- "offset": 9636,
44303
+ "offset": 10814,
44297
44304
  "length": 2,
44298
44305
  "value": "24"
44299
44306
  },
44300
44307
  {
44301
44308
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44302
44309
  "kind": "BooleanLiteral",
44303
- "offset": 20958,
44310
+ "offset": 25761,
44304
44311
  "length": 5,
44305
44312
  "value": "false"
44306
44313
  },
44307
44314
  {
44308
44315
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44309
44316
  "kind": "BooleanLiteral",
44310
- "offset": 76731,
44317
+ "offset": 86573,
44311
44318
  "length": 5,
44312
44319
  "value": "false"
44313
44320
  },
44314
44321
  {
44315
44322
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44316
44323
  "kind": "BooleanLiteral",
44317
- "offset": 175091,
44324
+ "offset": 197685,
44318
44325
  "length": 5,
44319
44326
  "value": "false"
44320
44327
  },
@@ -45114,7 +45121,7 @@
45114
45121
  "kind": "StringLiteral",
45115
45122
  "offset": 124,
45116
45123
  "length": 8,
45117
- "value": "\"0.2.26\""
45124
+ "value": "\"0.2.27\""
45118
45125
  },
45119
45126
  {
45120
45127
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/ShortKit.swift",
@@ -10,11 +10,11 @@
10
10
  </data>
11
11
  <key>Info.plist</key>
12
12
  <data>
13
- Iq8WNAyualDO11/gg6nPxoT/uLo=
13
+ vTgqqfDJyF8GYp6hOl5ygsKZXpc=
14
14
  </data>
15
15
  <key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.abi.json</key>
16
16
  <data>
17
- Gzr/etd10eddI2LBjZqt4DbbwAo=
17
+ 1CWbP83M4niqwACjutv+h5bAQI8=
18
18
  </data>
19
19
  <key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
20
20
  <data>
@@ -50,7 +50,7 @@
50
50
  <dict>
51
51
  <key>hash2</key>
52
52
  <data>
53
- isVaXgRh+uHcpvhnLI/Xw6vyUa6t68QJDw+sElYsnNw=
53
+ 6osxQFoWx1z1shKfM1SJVKzrEMvwpavL4nz8CXhPCf0=
54
54
  </data>
55
55
  </dict>
56
56
  <key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
@@ -11,9 +11,9 @@
11
11
  <key>CFBundlePackageType</key>
12
12
  <string>FMWK</string>
13
13
  <key>CFBundleVersion</key>
14
- <string>0.2.26</string>
14
+ <string>0.2.27</string>
15
15
  <key>CFBundleShortVersionString</key>
16
- <string>0.2.26</string>
16
+ <string>0.2.27</string>
17
17
  <key>MinimumOSVersion</key>
18
18
  <string>16.0</string>
19
19
  </dict>
@@ -44090,7 +44090,7 @@
44090
44090
  {
44091
44091
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedCell.swift",
44092
44092
  "kind": "StringLiteral",
44093
- "offset": 10044,
44093
+ "offset": 10653,
44094
44094
  "length": 3,
44095
44095
  "value": "\"?\""
44096
44096
  },
@@ -44255,66 +44255,73 @@
44255
44255
  "length": 1,
44256
44256
  "value": "0"
44257
44257
  },
44258
+ {
44259
+ "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44260
+ "kind": "BooleanLiteral",
44261
+ "offset": 8785,
44262
+ "length": 5,
44263
+ "value": "false"
44264
+ },
44258
44265
  {
44259
44266
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44260
44267
  "kind": "IntegerLiteral",
44261
- "offset": 7789,
44268
+ "offset": 8967,
44262
44269
  "length": 2,
44263
44270
  "value": "-1"
44264
44271
  },
44265
44272
  {
44266
44273
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44267
44274
  "kind": "IntegerLiteral",
44268
- "offset": 8037,
44275
+ "offset": 9215,
44269
44276
  "length": 1,
44270
44277
  "value": "0"
44271
44278
  },
44272
44279
  {
44273
44280
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44274
44281
  "kind": "IntegerLiteral",
44275
- "offset": 8087,
44282
+ "offset": 9265,
44276
44283
  "length": 1,
44277
44284
  "value": "0"
44278
44285
  },
44279
44286
  {
44280
44287
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44281
44288
  "kind": "IntegerLiteral",
44282
- "offset": 8141,
44289
+ "offset": 9319,
44283
44290
  "length": 1,
44284
44291
  "value": "0"
44285
44292
  },
44286
44293
  {
44287
44294
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44288
44295
  "kind": "FloatLiteral",
44289
- "offset": 8201,
44296
+ "offset": 9379,
44290
44297
  "length": 3,
44291
44298
  "value": "0.2"
44292
44299
  },
44293
44300
  {
44294
44301
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44295
44302
  "kind": "IntegerLiteral",
44296
- "offset": 9636,
44303
+ "offset": 10814,
44297
44304
  "length": 2,
44298
44305
  "value": "24"
44299
44306
  },
44300
44307
  {
44301
44308
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44302
44309
  "kind": "BooleanLiteral",
44303
- "offset": 20958,
44310
+ "offset": 25761,
44304
44311
  "length": 5,
44305
44312
  "value": "false"
44306
44313
  },
44307
44314
  {
44308
44315
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44309
44316
  "kind": "BooleanLiteral",
44310
- "offset": 76731,
44317
+ "offset": 86573,
44311
44318
  "length": 5,
44312
44319
  "value": "false"
44313
44320
  },
44314
44321
  {
44315
44322
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44316
44323
  "kind": "BooleanLiteral",
44317
- "offset": 175091,
44324
+ "offset": 197685,
44318
44325
  "length": 5,
44319
44326
  "value": "false"
44320
44327
  },
@@ -45114,7 +45121,7 @@
45114
45121
  "kind": "StringLiteral",
45115
45122
  "offset": 124,
45116
45123
  "length": 8,
45117
- "value": "\"0.2.26\""
45124
+ "value": "\"0.2.27\""
45118
45125
  },
45119
45126
  {
45120
45127
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/ShortKit.swift",
@@ -44090,7 +44090,7 @@
44090
44090
  {
44091
44091
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedCell.swift",
44092
44092
  "kind": "StringLiteral",
44093
- "offset": 10044,
44093
+ "offset": 10653,
44094
44094
  "length": 3,
44095
44095
  "value": "\"?\""
44096
44096
  },
@@ -44255,66 +44255,73 @@
44255
44255
  "length": 1,
44256
44256
  "value": "0"
44257
44257
  },
44258
+ {
44259
+ "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44260
+ "kind": "BooleanLiteral",
44261
+ "offset": 8785,
44262
+ "length": 5,
44263
+ "value": "false"
44264
+ },
44258
44265
  {
44259
44266
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44260
44267
  "kind": "IntegerLiteral",
44261
- "offset": 7789,
44268
+ "offset": 8967,
44262
44269
  "length": 2,
44263
44270
  "value": "-1"
44264
44271
  },
44265
44272
  {
44266
44273
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44267
44274
  "kind": "IntegerLiteral",
44268
- "offset": 8037,
44275
+ "offset": 9215,
44269
44276
  "length": 1,
44270
44277
  "value": "0"
44271
44278
  },
44272
44279
  {
44273
44280
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44274
44281
  "kind": "IntegerLiteral",
44275
- "offset": 8087,
44282
+ "offset": 9265,
44276
44283
  "length": 1,
44277
44284
  "value": "0"
44278
44285
  },
44279
44286
  {
44280
44287
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44281
44288
  "kind": "IntegerLiteral",
44282
- "offset": 8141,
44289
+ "offset": 9319,
44283
44290
  "length": 1,
44284
44291
  "value": "0"
44285
44292
  },
44286
44293
  {
44287
44294
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44288
44295
  "kind": "FloatLiteral",
44289
- "offset": 8201,
44296
+ "offset": 9379,
44290
44297
  "length": 3,
44291
44298
  "value": "0.2"
44292
44299
  },
44293
44300
  {
44294
44301
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44295
44302
  "kind": "IntegerLiteral",
44296
- "offset": 9636,
44303
+ "offset": 10814,
44297
44304
  "length": 2,
44298
44305
  "value": "24"
44299
44306
  },
44300
44307
  {
44301
44308
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44302
44309
  "kind": "BooleanLiteral",
44303
- "offset": 20958,
44310
+ "offset": 25761,
44304
44311
  "length": 5,
44305
44312
  "value": "false"
44306
44313
  },
44307
44314
  {
44308
44315
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44309
44316
  "kind": "BooleanLiteral",
44310
- "offset": 76731,
44317
+ "offset": 86573,
44311
44318
  "length": 5,
44312
44319
  "value": "false"
44313
44320
  },
44314
44321
  {
44315
44322
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/Feed\/FeedViewController.swift",
44316
44323
  "kind": "BooleanLiteral",
44317
- "offset": 175091,
44324
+ "offset": 197685,
44318
44325
  "length": 5,
44319
44326
  "value": "false"
44320
44327
  },
@@ -45114,7 +45121,7 @@
45114
45121
  "kind": "StringLiteral",
45115
45122
  "offset": 124,
45116
45123
  "length": 8,
45117
- "value": "\"0.2.26\""
45124
+ "value": "\"0.2.27\""
45118
45125
  },
45119
45126
  {
45120
45127
  "filePath": "\/Users\/michaelseleman\/shortkit\/swift_sdk\/Sources\/ShortKit\/ShortKit.swift",
@@ -10,11 +10,11 @@
10
10
  </data>
11
11
  <key>Info.plist</key>
12
12
  <data>
13
- Iq8WNAyualDO11/gg6nPxoT/uLo=
13
+ vTgqqfDJyF8GYp6hOl5ygsKZXpc=
14
14
  </data>
15
15
  <key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
16
16
  <data>
17
- Gzr/etd10eddI2LBjZqt4DbbwAo=
17
+ 1CWbP83M4niqwACjutv+h5bAQI8=
18
18
  </data>
19
19
  <key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
20
20
  <data>
@@ -30,7 +30,7 @@
30
30
  </data>
31
31
  <key>Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
32
32
  <data>
33
- Gzr/etd10eddI2LBjZqt4DbbwAo=
33
+ 1CWbP83M4niqwACjutv+h5bAQI8=
34
34
  </data>
35
35
  <key>Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
36
36
  <data>
@@ -66,7 +66,7 @@
66
66
  <dict>
67
67
  <key>hash2</key>
68
68
  <data>
69
- isVaXgRh+uHcpvhnLI/Xw6vyUa6t68QJDw+sElYsnNw=
69
+ 6osxQFoWx1z1shKfM1SJVKzrEMvwpavL4nz8CXhPCf0=
70
70
  </data>
71
71
  </dict>
72
72
  <key>Modules/ShortKitSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
@@ -94,7 +94,7 @@
94
94
  <dict>
95
95
  <key>hash2</key>
96
96
  <data>
97
- isVaXgRh+uHcpvhnLI/Xw6vyUa6t68QJDw+sElYsnNw=
97
+ 6osxQFoWx1z1shKfM1SJVKzrEMvwpavL4nz8CXhPCf0=
98
98
  </data>
99
99
  </dict>
100
100
  <key>Modules/ShortKitSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shortkitsdk/react-native",
3
- "version": "0.2.26",
3
+ "version": "0.2.27",
4
4
  "description": "ShortKit React Native SDK — short-form video feed",
5
5
  "react-native": "src/index",
6
6
  "source": "src/index",