Closed Patryqss closed 3 months ago
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available - 0.74.2. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
:warning: | Issue is Related to Expo |
---|---|
:information_source: | It looks like your issue is related to Expo and not React Native core. Please open your issue in Expo's repository. If you are able to create a repro that showcases that this issue is also happening in React Native vanilla, we will be happy to re-open. |
Also for the issue related to @walletconnect/react-native-compat
, please open this same issue against the library issue tracker
Description
I'm trying to use a Web3Wallet library in my app. I followed the documentation presented here and here and I have two issues:
First, the import of
@walletconnect/react-native-compat
throws an error:react-native-compat: Application module is not available
While searching for similar problems, I only found one example but it was not solvedSecond, if I try to run the app on iOS Simulator or an iPhone, running
Web3Wallet.init
(clicking on the button in the Reproducer example) crashes my Expo Go app without even throwing a single log. It may be somehow connected to the first issue but I'm not sure since it works fine on an Android deviceSteps to reproduce
Follow the Readme file in the Reproducer link
React Native Version
0.74.1
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/Patryqss/Test-Expo-and-Web3Wallet
Screenshots and Videos
https://github.com/facebook/react-native/assets/53139396/2b64b7ae-bf98-4c2d-8d88-ee548190d503