Skip to content
This repository was archived by the owner on Aug 19, 2024. It is now read-only.
This repository was archived by the owner on Aug 19, 2024. It is now read-only.

MetamaskContentscript - lost connection to MetaMask Background Multiplex #75

Description

@YannMarti

I injected index.js in my inapWebview on my wallet, but im getting this error:

I/flutter ( 4953): MetamaskContentscript - lost connection to MetaMask Background Multiplex
I/flutter ( 4953): Error: MobilePortStream - disconnected
I/flutter ( 4953): at c._write (:12:9414)
I/flutter ( 4953): at w (:8:118728)
I/flutter ( 4953): at :8:121906
I/flutter ( 4953): at c.m.write (:8:121933)
I/flutter ( 4953): at c.g (:8:79743)
I/flutter ( 4953): at c.s.emit (:1:8010)
I/flutter ( 4953): at _ (:8:74564)
I/flutter ( 4953): at v (:8:74379)
I/flutter ( 4953): at c.w.push (:8:75190)

It is written in dart, but i can inject javascript into the inappbrowser. My question is, what do i have to do once i have injected index.js?
Because im not sure if this error is becaus im missing something or because of something else.
Even an explanation on how you would do it in javascript would be helpful. I tried to look at the code of metmask-mobile, but didnt really make any progress, as i am not too proficient with js.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions