-
Notifications
You must be signed in to change notification settings - Fork 491
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
Send message from webview's page to the app #112
Comments
Closing this as I solved it. On the web page side, I setup a condition as such:
This way, if the user isn't accessing this page from the This works pretty great. Hopefully it'll be useful to someone. |
@Naoto-Ida hello, maybe I have the same issue as you. |
@huangxiaohao Are you trying to get a JSON from the website on |
@Naoto-Ida thank you for your reply! |
@huangxiaohao I would do something like this:
|
@Naoto-Ida I'm so sorry for reply you too late, because I met a problem when I installation this component. That take me a lot of time to resolved. But so far,I have no idea to resolve it. :( |
@huangxiaohao |
@Naoto-Ida Should I use this component react-native-wkwebview in my project? |
@Naoto-Ida hey, thanks a lot. I tried to do what you tall me, and I didn't use the react-native-wkwebview But there have an error in it when I import the component, error message: |
Is there a way to send data from the HTML to the page when the user taps on a button or something in the webview?
What I'm looking for is basically the equivalent of this library that I can embed in the webpage which would send a value to the app on its terms, not page load.
The text was updated successfully, but these errors were encountered: