Open
Description
Minimal reproducible example
https://github.com/arekm213/expo-web-browser-repro/tree/main
Steps to reproduce
- Run npx expo run:ios --device [Ipad id]
- Click red square which is gonna invoke
WebBrowser.openBrowserAsync('https://www.youtube.com/watch?v=6MAzUT1YhWE')
- Run the video
- Share video using button at the top bar -> click "Add to Home Screen" action -> Add
- After it gets shared and it redirects you to the home screen, get back to the app
- Play video again if its not getting played automatically
- Click "done" button
- Audio shouldn't be playing because we closed web browser, but its still playing
I can send the video if something is not clear
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 15.5
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.15.0 - ~/.nvm/versions/node/v18.15.0/bin/node
Yarn: 1.22.18 - /opt/homebrew/bin/yarn
npm: 9.5.0 - ~/.nvm/versions/node/v18.15.0/bin/npm
Watchman: 2025.05.26.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.15.2 - /Users/myuser/.local/share/mise/installs/ruby/3.1.5/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 24.1, iOS 18.1, macOS 15.1, tvOS 18.1, visionOS 2.1, watchOS 11.1
Android SDK:
API Levels: 25, 26, 27, 28, 29, 30, 31, 33, 33, 33, 34, 35
Build Tools: 23.0.1, 26.0.2, 27.0.3, 28.0.3, 29.0.2, 29.0.3, 30.0.0, 30.0.2, 30.0.3, 31.0.0, 33.0.0, 33.0.1, 34.0.0, 35.0.0
System Images: android-30 | Google Play ARM 64 v8a, android-30 | Google Play Intel x86 Atom, android-31 | Google Play ARM 64 v8a, android-31 | Google Play Intel x86 Atom_64, android-32 | Google APIs ARM 64 v8a, android-32 | Google Play ARM 64 v8a, android-33-ext5 | Google Play ARM 64 v8a, android-33 | Google APIs ARM 64 v8a, android-34 | Google Play ARM 64 v8a, android-34 | Google APIs ATD Intel x86_64 Atom, android-35 | Google Play ARM 64 v8a
IDEs:
Android Studio: 2024.2 AI-242.23339.11.2421.12700392
Xcode: 16.1/16B40 - /usr/bin/xcodebuild
npmPackages:
expo: ~53.0.15 => 53.0.15
react: 19.0.0 => 19.0.0
react-dom: 19.0.0 => 19.0.0
react-native: 0.79.4 => 0.79.4
react-native-web: ~0.20.0 => 0.20.0
Expo Workflow: managed
Expo Doctor Diagnostics
14/15 checks passed. 1 checks failed. Possible issues detected:
Use the --verbose flag to see more details about passed checks.
✖ Check for app config fields that may not be synced in a non-CNG project
This project contains native project folders but also has native configuration properties in app.json, indicating it is configured to use Prebuild. When the android/ios folders are present, if you don't run prebuild in your build pipeline, the following properties will not be synced: orientation, icon, scheme, userInterfaceStyle, ios, android, plugins, androidStatusBar.
1 check failed, indicating possible issues with the project.
-- I believe this is not related to the problem