Skip to content

Reproduce Broken iOS Control Center Issue w/ react-native-video - #2681

Open
brianlenz wants to merge 1 commit into
doublesymmetry:mainfrom
throughtheword:rntp_react_native_video_conflict_2679
Open

brianlenz wants to merge 1 commit into
doublesymmetry:mainfrom
throughtheword:rntp_react_native_video_conflict_2679

Conversation

@brianlenz

Copy link
Copy Markdown
  • Updated @rntp/player to the latest 5.9.2 release.
  • Added react-native-video's latest beta 11 dependency (and the react-native-nitro-modules peer dependency).
  • Added a TestVideo component to exhibit the issue where react-native-video can "break" RNTP.
  • Updated the MusicScreen to include the TestVideo component by default. There is a button to remove (unmount) the video to allow further testing of RNTP after react-native-video is out of the picture.
  • Updated the playback config on the MusicScreen to use skip forward/backward instead of next/previous. This helps make the iOS Control Center Now Playing issue more prominent/obvious.
  • Updated index.js to call setAudioSessionManagementDisabled(true) to (try to) ensure that react-native-video doesn't interfere with RNTP's Now Playing behavior.
  • Updated the example project to use the latest version of Yarn.
  • Updated the Podfile to fix a build issue with glog.
  • Set the Ruby version to 3.3.0 via .ruby-version.
  • Removed the Carplay audio entitlement since it isn't needed for the repro and was causing device deployment issues.

#2679

* Updated `@rntp/player` to the latest `5.9.2` release.
* Added `react-native-video`'s latest beta 11 dependency (and the `react-native-nitro-modules` peer dependency).
* Added a TestVideo component to exhibit the issue where react-native-video can "break" RNTP.
* Updated the MusicScreen to include the TestVideo component by default. There is a button to remove (unmount) the video to allow further testing of RNTP after react-native-video is out of the picture.
* Updated the playback config on the MusicScreen to use skip forward/backward instead of next/previous. This helps make the iOS Control Center Now Playing issue more prominent/obvious.
* Updated index.js to call `setAudioSessionManagementDisabled(true)` to (try to) ensure that `react-native-video` doesn't interfere with RNTP's Now Playing behavior.
* Updated the example project to use the latest version of Yarn.
* Updated the `Podfile` to fix a build issue with `glog`.
* Set the Ruby version to `3.3.0` via `.ruby-version`.
* Removed the Carplay audio entitlement since it isn't needed for the repro and was causing device deployment issues.

doublesymmetry#2679
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