Skip to content

Mobile on-boarding improvements

Compare
Choose a tag to compare
@cmeisl cmeisl released this 20 May 07:22
· 39 commits to master since this release
31b44f5

This release improves how Assist handles on-boarding on mobile platforms.

If mobileBlocked is false, onboard() will call window.ethereum.enable() if a modern provider so that the dapp can connect to the users wallet and get the current user state, then:

  • reject with the current state if the user is not ready to transact
  • resolve with the current state if the user is ready to transact