react-native-actions-sheet
react-native-actions-sheet copied to clipboard
[BUG] IOS Crashes When Using this package with Webview
Description Environment:
IOS version: 17.2 Simulator: iPhone 15 Pro React-Native version: 0.73.5 (new architecture)
Description:
The application crashes without any error messages when I click the open modal button after installing both the actions-sheet and react-native-webview packages. The application compiles without any errors.
Actual behavior: The application crashes without any error messages.
Minimal Reproduction:
I've created a minimal reproduction of this issue. The repository can be found at: https://github.com/Martin2037/rn-modal-crash
Output of npx react-native info System: OS: macOS 14.2.1 CPU: (10) arm64 Apple M1 Pro Memory: 69.55 MB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 20.9.0 path: /usr/local/bin/node Yarn: version: 1.22.19 path: /usr/local/bin/yarn npm: version: 9.4.0 path: /usr/local/bin/npm Watchman: version: 2024.01.22.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.15.2 path: /Users/zhujunyang/.rubies/ruby-3.3.0/bin/pod SDKs: iOS SDK: Platforms:
- DriverKit 23.2
- iOS 17.2
- macOS 14.2
- tvOS 17.2
- watchOS 10.2 Android SDK: Not Found IDEs: Android Studio: Not Found Xcode: version: 15.1/15C65 path: /usr/bin/xcodebuild Languages: Java: version: 18.0.2 path: /usr/bin/javac Ruby: version: 3.3.0 path: /Users/zhujunyang/.rubies/ruby-3.3.0/bin/ruby npmPackages: "@react-native-community/cli": Not Found react: installed: 18.2.0 wanted: 18.2.0 react-native: installed: 0.73.5 wanted: 0.73.5 react-native-macos: Not Found npmGlobalPackages: "react-native": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: true newArchEnabled: true
Expo Version (if applies) No response
Steps to reproduce 1、Install both react-native-actions-sheet and webview packages. 2、Compile the application 3、Click the open modal button.
Snack, code example, screenshot, or link to a repository https://github.com/Martin2037/rn-modal-crash
I'm seeing the same thing when using new arch + hermes on IOS