-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Does not work with EIP 1102 #3
Comments
I’m working on fixing our extension-provider to work with 1102 (lets other extensions talk to MetaMask, we have a project that wants to build on this API). I’m finding that the 1102 methods don’t use the Port API, but instead use the To receive this message internally as we do currently, we have used the onMessage API: To receive the messages from an externally-generated request however, we have to use the onMessageExternal api instead: This means that while we’ve relied on some pretty beautiful styling referencing the source page so far (including
I guess we could do a lookup on the relevant extension store to render the related image? In the meanwhile, we could just render a generic extension icon, and the extension’s ID? Any other ideas? Should we be able to extract more from that source url? |
Just wanted to chime in, we're building the extension which needs this (https://github.com/SuperuserLabs/thankful). Regarding the icon: I'm personally fine with a generic icon for now, if that leads to a quicker resolution. |
Sorry for the slow development on this, thanks for reminding us this is still valuable to you. I think you may now be able to trigger the login request using the |
@danfinlay thanks for the tip. However this does not seem to work (with privacy mode on), no permission popup appears. More details in this PR SuperuserLabs/thankful#215 |
Any movement here?
Neither resulting in any error or callback, so there is currently no way to ask the user to approve another extension. |
A little update here: Getting this working was requiring a refactor of our transport layer, and we were already in the midst of a project that refactored this same layer, so this got bumped a bit in priority since we were going to get most of the work for free. You can learn a bit about this new type of login system coming soon. When it lands, adding this feature should suddenly be very easy: |
Slight update on the above: That permissions system is on our |
The extension was updated in MetaMask/metamask-extension#7218 to support connecting to an external extension, so this issue should no longer be blocked. Sending |
Closing per Gudahtt's comment above, this now works. |
Reported in MetaMask/metamask-extension#5950
The text was updated successfully, but these errors were encountered: