You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 19, 2024. It is now read-only.
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.