Open micahalcorn opened 5 years ago
I can modify the user agent for the WebView. This is possible on iOS, its not supported out of the box for Android but there might be a way to do it.
That'd be cool 🙂
Thinking about this a bit more - it is against Google's policies so we might be safer just disabling it. 😞
Some rules are meant to be broken.
Re-opening so we can add warning screens for non-Origin mobile apps (Coinbase Wallet etc)
@norbertdragan Would you be interested in looking at this issue ? Let us know if you need any clarifications...
It's not entirely clear what needs to be done here. Can you please clarify @franckc?
@norbertdragan The issue is that Google verification does not work when our dapp is used via a mobile wallet such as Coinbase, imToken, Metamask, etc... It only works if the users is on a desktop browser with a wallet or the Origin Protocol mobile wallet.
So if the user attempts to do Google verification from a non-supported browser/mobile wallet, we'd like to warn them. I don't think we have any mocks for that so feel free to use your best judgement as to how the UI should look like for this :)
Don't hesitate to ask for more clarifications if needed... Thanks for working on this issue !
Thanks @franckc, I think I get it now. While testing with imToken and Metamask, I noticed a bug on my Android phone in WebView and created issue #3140 for Micah's suggestion.
According to @nick, Google does not allow logins via webview. We should just add a modal indicating that it's only available on desktop unless there is a better alternative.
At Origin, we use ZenHub to manage our engineering tasks and product development. Download their browser extension and check out our open workspace at github.com/originprotocol/origin#zenhub.