-
Notifications
You must be signed in to change notification settings - Fork 18
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]: MetaMask not opening #224
Comments
Hey @GioLogist 👋 can you provide a video with the issue? Also, do you see any errors in the console? |
No errors in console. Here's the video RPReplay_Final1725573679.MP4 |
same |
@GioLogist are you using the wagmi package? If so, can you try updating to the latest version?
cc @kale5195 |
@ignaciosantise That's the version I'm on
|
@GioLogist are you using an allowlist in your Cloud project settings? If so, does the bundle id added there match your app id? |
@ignaciosantise I do not see an option for this. I did, however, verify domain and verify my bundleId is correct |
@GioLogist Go to Cloud -> Dashboard/Mobile Application IDs/iOS Bundle IDs or Android Package Names Do you have something added there? If so, please check that those values correspond to your app id. If you are using expo, don't use |
@ignaciosantise Yep and it's correct Also not using Expo Go. The app is actually built and in TestFlight, just experiencing issue shown in video |
Could it be the app scheme? I haven't registered one yet:
|
No, i think the issue is related to the socket connection. if it doesn't:
|
Okey, so its definitely a connection issue. No, there's no problem if its Draft, but maybe there's an issue with that project id. Can you check creating a new draft? just to check if its that |
@ignaciosantise Just tried a new projectId, 59ba1c50599d9f7eebdc74ca473f23d7, still same issue |
Okey, then i'll need a minimal reproducible example so i can debug locally. Can you provide a sample repo with the issue? |
@ignaciosantise The screen pasted above in description is the exact code i'm using, in a fresh Expo scaffold. You should be able to copy paste that into any Expo build (not using Expo Go) |
@GioLogist i made a fresh expo app and i was able to make it work. But if i test with your project id, it doesn't work. Can you try removing all This is a video using your code in a new project, BUT using my own project id. test.movI'll also check with the Cloud team to see if there's something wrong with your project id |
@ignaciosantise made yet another project and I think I found the issue. I was using AppKit Instead of WalletKit 🤦🏻♂️ I suppose it's not obvious to everyone which to use? We're making a DAPP and not a self custodial wallet like CB Wallet. So our impression was that AppKit was what we should use. |
If you are making a dapp and want to connect with wallets, AppKit is the right tool for you -> With AppKit you'll be able to connect your dapp to any wallet in the list, and then you can use wagmi hooks to sign messages, etc |
@ignaciosantise Well that's what's odd here then. The other two, non-working apps are AppKit and not working. But when I made a WalletKit one, it worked |
That's really weird. I've just created a new project id for AppKit and works. I'll provide your project_id ("59ba1c50599d9f7eebdc74ca473f23d7") to the team to see if there's an issue in the process creation |
Can you upload a video of the flow you are doing to create an AppKit project id? And can you also show in the video the navigator console to see if there's any error there? |
@ignaciosantise console in cloud while making the app? |
yes, while you create the new project in Cloud 🙏 |
@ignaciosantise Ok this is truly weird. BTW I had done this same thing prior and I got an error with an API key that included "echo" and the projectId. Not sure if that's related. This one had a separate error, but was successful In the end, here's what I've experienced
Screen.Recording.2024-09-11.at.1.02.15.PM.mov |
@GioLogist okey, i'll talk to the team then. But fortunately now you are unblocked now 🤝 |
@ignaciosantise awesome, much appreciated 🙏🏻 |
Description
Standard installation, I am unable to get my RN app to trigger MetaMask to open.
AppKit SDK version
"@web3modal/wagmi-react-native": "^2.0.2",
Output of
npx react-native info
npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 14.4
CPU: (14) arm64 Apple M3 Max
Memory: 93.00 MB / 36.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.15.0
path: ~/.nvm/versions/node/v20.15.0/bin/node
Yarn:
version: 1.22.22
path: ~/.nvm/versions/node/v20.15.0/bin/yarn
npm:
version: 10.7.0
path: ~/.nvm/versions/node/v20.15.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.15.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.5
- iOS 17.5
- macOS 14.5
- tvOS 17.5
- visionOS 1.2
- watchOS 10.5
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 15.4/15F31d
path: /usr/bin/xcodebuild
Languages:
Java: Not Found
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.74.5
wanted: 0.74.5
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: true
newArchEnabled: false
info React Native v0.75.2 is now available (your project is running on v0.74.5).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.75.2
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.74.5
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".
Expo Version (if applies)
No response
Steps to reproduce
Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: