ammarahm-ed / react-native-geckoview

GeckoView implementation on android for React Native.
MIT License
11 stars 4 forks source link

Injecting javascript not working #3

Closed euclides-jr closed 1 year ago

euclides-jr commented 1 year ago

Hi there, I set up the projected, and copied the messaging extension and it seems to work but the only message a I get is "hello world" no matter what I set in the injectedJavaScript prop. I believe the "hello world" message is coming from the extension here https://github.com/ammarahm-ed/react-native-geckoview/blob/main/extensions/messaging/content.js#L25 and the code injection / messaging is not working.

ammarahm-ed commented 1 year ago

@euclides-jr I just fixed it. try 1.4.0. make sure to copy the extension again to assets folder.