-
Notifications
You must be signed in to change notification settings - Fork 43
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
Error: The getter 'Platform' isn't defined for the class 'X' #117
Comments
Can you share your pubspec.yaml? |
for sure
|
This is weird. If you open |
|
Even more weird. We have the exact same dependency. Please try the following: Delete everything under these folders:
Then inside your project do:
|
i've done it but nothing changed. |
Oh man you should have said that. 😅 |
Yes i've followed but same issue happens on the other version. |
I can't help, Web3Modal has never supported web platforms, maybe you tried WalletConnectModalFlutter that it's a bit more simpler and my be running better in the web. |
You need to use You can use my fork if you wish, I fixed some other UI issue in Web there:
|
@asmodeoux |
yes, you probably forgot to run |
@matteoberla didn't really check if these button work since I don't use them in my project, but you can launch the controls modal by calling: |
My bad, i was missing the |
network change seems not to work, where can i write to you so we don't mess up this issue with unrelated comments? @asmodeoux |
@matteoberla yeah you need to keep the wallet app open on your phone in order to confirm the network change there. I'm thinking about adding the QR code to the change network page so the user can scan and confirm it, but don't really expect much from this fork yet... it's just a temporary workaround, I hope the official version will be released soon :D Connection definitely works, as for some other things you might need to open the app on your phone to confirm them, because redirect doesn't work on Web, and the initial code expects things to run on Mobile where the redirect opens the wallet for you. |
i've kept the app opened but seems not to work, this is what i see in the console trying to switch to polygon:
My bad, the network to switch to needs to be added also in the app you're using to connect the wallet (in my case metamask) |
@asmodeoux was smart contract interaction / transactions approval etc. implemented as weel? |
I'm receiving this at startup, i've tried to clear cache of packages but nothing seems to work
The text was updated successfully, but these errors were encountered: