Web3ModalFlutter icon indicating copy to clipboard operation
Web3ModalFlutter copied to clipboard

feat: :sparkles: Web support

Open Chralu opened this issue 1 year ago • 3 comments

This is a Work In Progress.

What has been done :

  • Improve logging to show complete logs on debug mode
  • Remove some Headers when running on web
    • user-agent and referer are rejected on Safari
  • consider web on Android as Android platform
  • consider web on iOS as iOS platform
  • Fix when loading wallets images (related to https://github.com/Baseflow/flutter_cached_network_image/issues/820)

TODO :

  • [x] running web app on iOS should be detected as iOS platform
  • [x] running web app on Android should be detected as Android platform
  • [x] list wallets on "Web on Android"
  • [x] list wallets on "Web on iOS"
  • [x] deeplink opens selected wallet on "Web on Android"
  • [ ] deeplink opens selected wallet on "Web on iOS"
  • [ ] deeplink callback handled on "Web on Android"
  • [ ] deeplink callback handled on "Web on iOS"

Chralu avatar Aug 14 '24 11:08 Chralu

Hello @Chralu! I really appreciate the efforts of bringing web support to Web3Modal but our priorities right now are others so I may take a while until I actually review this. Just FYI 🙏

quetool avatar Aug 30 '24 16:08 quetool

Hello @quetool That PR is just a quick attempt toward web support. It needs a lot of work to be fulfilled.

It will probably be closed without any further progress, which is ok to me 👍

Chralu avatar Sep 02 '24 09:09 Chralu