Skip to content
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

If the extension is not installed in the chrome issue? #12

Open
jagdishabhiandroid opened this issue Nov 22, 2019 · 7 comments
Open

If the extension is not installed in the chrome issue? #12

jagdishabhiandroid opened this issue Nov 22, 2019 · 7 comments

Comments

@jagdishabhiandroid
Copy link

If the extension is not installed in the chrome then nothing happens when I dispatch event it is not working any error like install extension etc is there any way to achieve this with the current extension am using js code form the demo you provided :
https://dapps.icon.support/iconex-webconnect/

@octocat512
Copy link

How can I detect if the ICONex extension is installed?
I need this feature to redirect users to the ICONex extension installation.

@octocat512
Copy link

I'd like ICONex to support this feature like Metamask
https://docs.metamask.io/guide/getting-started.html#basic-considerations

@ICONationTeam
Copy link

It can be done by sending a ICONEX_RELAY.REQUEST event, if you don't have any answer after 2 seconds, you can consider the extension as not installed.

Exemple from the MyIconWallet source code here : https://github.com/ReliantNode/myiconwallet-react/blob/b2578f76a67396bfa1ae518f495bfb8ef9f5aa79/src/components/UnlockWithICONex.jsx

@octocat512
Copy link

It is just a workaround. I think It is not good for developer experience.

@ICONationTeam
Copy link

Agreed

@octocat512
Copy link

octocat512 commented Feb 18, 2021

I'd like ICONex to implement EIP-1193(https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1193.md).
It will help that Web3 developers easily adopt ICONex.

@luanvuonggia
Copy link

  • I'm using Hana wallet now
  • I already installed Hana but did not log in
  • After 2 seconds, It returns the extension not installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants