Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] IOS Crashes When Using this package with Webview #345

Open
Martin2037 opened this issue Mar 2, 2024 · 1 comment
Open

[BUG] IOS Crashes When Using this package with Webview #345

Martin2037 opened this issue Mar 2, 2024 · 1 comment

Comments

@Martin2037
Copy link

Martin2037 commented Mar 2, 2024

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.
e74b3cd0-1ed8-4153-9714-359fa0dead23

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

@zzorba
Copy link

zzorba commented May 3, 2024

I'm seeing the same thing when using new arch + hermes on IOS

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

No branches or pull requests

2 participants