Skip to content
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

Event call on Android but not on iOS #17

Open
SamBellerose opened this issue Nov 17, 2017 · 3 comments
Open

Event call on Android but not on iOS #17

SamBellerose opened this issue Nov 17, 2017 · 3 comments

Comments

@SamBellerose
Copy link

I'm trying to figure out how to call an event on iOS, it works fine on Android, but I'm not sure why it doesn't on iOS, is there anything to add in the code or in the iOS project in order to make it work?

Thanks!

@lesnitsky
Copy link
Owner

@SamBellerose are you trying to call event right after webview loaded?

@SamBellerose
Copy link
Author

@R1ZZU yes, is it possible?

@lesnitsky
Copy link
Owner

that's most likely related to this issue
You can try to emit event inside setTimeout, however synchronous emit of event doesn't really makes sense, as you can use onLoad callback of RN WebView to make sure webview was loaded. Let me know if you need more expanded explanation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants