Is there any way, how the Web application, that was purely written in ReactJS, could communicate with the Android native application, that contains only webview, where I'm loading this ReactJS application? I couldn't rewrite the ReactJS app to React Native application, that is my only limitation.
Asked
Active
Viewed 368 times
2
-
https://developer.android.com/guide/webapps/webview#java – rmanalo Oct 04 '18 at 02:20
-
@rmanalo This is useless, I already described that the problem is in different technology's communication. – jantursky Oct 04 '18 at 08:03
-
oh, really. sorry. that's the only thing I know. I haven't experienced using ReactJS – rmanalo Oct 04 '18 at 08:07
-
Vanilla js works fine, but not on react. but we really need to build our webapp with react. @jantursky got some solutions? it's been a whole year – softmarshmallow Dec 04 '19 at 07:45
-
It seems like nobody has any solution for this! It's easy to communicate from React Js to Android but from Android to React js it's impossible. And this just does not make any sense! – Junia Montana Sep 18 '21 at 01:45
1 Answers
0
You can use the Cordova or any other container to serve your react.js web app as native mobile applicaiton.

Sumit Chaudhari
- 210
- 1
- 15
-
But do you have the solution or way how to solve it in this type of case. – jantursky Oct 04 '18 at 08:04