Skip to content

Fix New Architecture compatibility in RN 0.86 - #12

Merged
Ludevv merged 1 commit into
ds-custom-forkfrom
fix/rn-086-new-arch-compat
Jul 28, 2026
Merged

Fix New Architecture compatibility in RN 0.86#12
Ludevv merged 1 commit into
ds-custom-forkfrom
fix/rn-086-new-arch-compat

Conversation

@Ludevv

@Ludevv Ludevv commented Jul 24, 2026

Copy link
Copy Markdown

##Problem
The player crashes at view creation on iOS, and the TypeScript build breaks on a removed StyleSheet API on React Native 0.86 / New Architecture (Expo SDK 57)

##Solution

  • RCTVideoManager: replace the event dispatcher with optional chaining and a safe cast (as?), since bridgeless mode returns nil
  • Video.tsx: replace the removed StyleSheet.absoluteFillObject with absoluteFill, used as a style-array element instead of a spread

@Ludevv
Ludevv merged commit daa9749 into ds-custom-fork Jul 28, 2026
1 of 7 checks passed
@Ludevv
Ludevv deleted the fix/rn-086-new-arch-compat branch July 28, 2026 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants