Comments (6)
Would it make more sense if we changed the wording to something like this?
The MetaMask extension provider is synchronously injected, while the MetaMask mobile provider (only available when accessing a dapp inside of the mobile app) is asynchronously injected.
from detect-provider.
@mcmire
It looks good.
[nit]
I think you may want to write that deeplink is recommended as a countermeasure in case the presence of window.ethereum
cannot be detected.
from detect-provider.
@uji We could certainly remind people about deeplinking as a way of bypassing the need to detect the provider. That would assume your dapp is so simple that you don't need to connect to the user's wallet at all -- you just want to spawn an action in MetaMask, such as a payment request. Is that use case what you had in mind?
from detect-provider.
@mcmire I was thinking of use cases that connect to the user's wallet.
In this case, I thought I needed to transition to the browser inside of the mobile app using deeplink.
Is this a correct understanding?
from detect-provider.
@uji Hmm, I'm not sure I'm quite understanding. Are you wanting to link from somewhere outside of the mobile app to your dapp inside of the mobile app?
from detect-provider.
@mcmire
I want to use MetaMask Ethereum provider in a Dapp running in browsers outside of the MetaMask mobile app(such as Google chrome).
windows.ethereum
isn't injected those browsers, so I thought I needed to use deeplink to transition to the MetaMask mobile app browser.
from detect-provider.
Related Issues (20)
- Unnecessary wait on desktop when not metamask installed HOT 1
- No provider selected for request eth_chainId when coinbase wallet extension is installed HOT 3
- @metamask/detect-provider: Unable to detect window.ethereum on Android browsers and Metamask app HOT 4
- @metamask/detect-provider: Unable to detect window.ethereum. HOT 7
- (WARNING) MetaMask: The event 'close' is deprecated and may be removed in the future. Please use 'disconnect' instead. HOT 1
- Failed to parse source map - Error: ENOENT: no such file or directory HOT 26
- Can't detect provider on Android Metamask browser HOT 14
- $@
- npm package is not up to date HOT 1
- Its seems the files for latest version is missing HOT 2
- Unexpected behavior when there are multiple injected providers HOT 1
- MetaMask detect connection does not detect my mobile MetaMask App HOT 21
- Property 'request' does not exist on type 'MetaMaskEthereumProvider'.ts(2339) HOT 10
- USTc
- C++ HOT 1
- Reject instead of resolve(null) when `mustBeMetamask` is true HOT 1
- Is there an API to open the MetaMask mobile app?
- Export MetaMaskEthereumProvider
- Make compatible with EIP-6963
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from detect-provider.