You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ios): pass fit in constructor, OOB asset improvements (#237)
- Pass `fit:` directly in `Rive()` constructor instead of setting it
post-creation. Removes the `layoutSubviews`/`pendingFit` workaround
since rive-ios 6.19.1 handles this (rive-ios#443)
- Warn when `updateReferencedAssets` is called on experimental backend
(not supported — concurrency API can't update already-bound artboard
assets)
- Switch asset registration from parallel `TaskGroup` to sequential to
ensure command queue ordering
- Add debug logging to `ExperimentalAssetLoader`
- Add explicit `type` fields to OutOfBandAssets example
- Add `expo-font` plugin for `kanit_regular.ttf` in expo examples
## Test plan
- QuickStart + DataBindingArtboards render correctly with `Fit.Layout`
on first mount
- Out-of-Band Assets example loads initial assets correctly
- `updateReferencedAssets` logs a warning instead of silently failing
awaitExperimentalAssetLoader.registerAssets(referencedAssets, on: worker)
159
-
}
152
+
RCTLogWarn("[Rive] updateReferencedAssets is not supported with the experimental backend — already-rendered artboards cannot be updated. Use the legacy backend for runtime asset swapping.")
0 commit comments