Skip to content

iOs not communicating with index.js #39

Description

@rickdps

First of all, thank you very much for this plugin. I'm sure this has helped a lot of people.

Here is my scenario:

I have 2 files, home.js and page2.js and a folder called www which contains two files, index.html and index.js. These are all inside the app folder.

Btw, this is a vanilla project.

I've imported the nativescript-webview-interface in page2.js which also has the code to trigger the functions that are defined in the index.js.

This setup is working perfectly on android, but it is not on iOS.

On iOS, I have noticed that when the emitEventToWebView() is run, it doesn't trigger the methods that are declared in the index.js

Any thoughts?

Please help me. :)

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions