Page MenuHomePhabricator

[native] Set incognito for SIWE WebView
ClosedPublic

Authored by ashoat on Dec 25 2022, 6:55 PM.
Tags
None
Referenced Files
F2198213: D6036.id20116.diff
Fri, Jul 5, 5:06 PM
F2198071: D6036.id20120.diff
Fri, Jul 5, 4:38 PM
Unknown Object (File)
Wed, Jul 3, 6:20 AM
Unknown Object (File)
Sun, Jun 30, 7:38 AM
Unknown Object (File)
Sun, Jun 30, 3:30 AM
Unknown Object (File)
Mon, Jun 24, 3:15 AM
Unknown Object (File)
Fri, Jun 21, 9:54 PM
Unknown Object (File)
Thu, Jun 13, 12:24 AM
Subscribers

Details

Summary

You can get stuck halfway through the SIWE flow if RainbowKit in JS thinks you're authenticated, but your Rainbow app doesn't.

By setting incognito={true}, we reset the state of the WebView on every open, so that we can start the flow from scratch.

Depends on D6035

Test Plan

Get stuck halfway through SIWE flow, then apply this diff and see myself automatically unstuck

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage