Skip to content

feat(android): add loop prop, onLoad event, fix podspec iOS min version#6

Open
davaidev wants to merge 1 commit intoFeeld:mainfrom
davaidev:feat/loop-prop-onload-event
Open

feat(android): add loop prop, onLoad event, fix podspec iOS min version#6
davaidev wants to merge 1 commit intoFeeld:mainfrom
davaidev:feat/loop-prop-onload-event

Conversation

@davaidev
Copy link

Changes

Android (TransparentVideoViewManager.java)

  • Add loop prop support (default true) — saves loop setting per-view, applies when AlphaMovieView is created or recreated
  • Add onLoad event via RCTEventEmitter — fires when video starts playing
  • Fix: apply saved loop setting when view is recreated after setSrc

iOS (react-native-transparent-video.podspec)

  • Bump minimum iOS version from 11.0 to 13.4
  • Remove unused folly_compiler_flags variable
  • Remove dead New Architecture conditional block (Folly, Fabric, Codegen deps) that was never properly supported

Motivation

Compatibility with React Native 0.83 / Expo SDK 55. The loop prop and onLoad event are needed for common video playback control from the JS side.

Made with Cursor

Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

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.

1 participant