Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28463

Is it possible to navigate from an Android Native screen to a React Native component?

$
0
0

I'm a beginner to react Native, and I've been given a task to integrate an existing Android Native project. So far, I can navigate from React Native to Android Native just fine. I learned that it's possible to send data from Android Native to RN by calling a listener from the RN side, and when the AN side calls an emit function, it can call functions from JS encased in that listener. But I can't seem to find a workaround to re-render a component itself from AN. Calling the listener in render() and componentDidMount() doesn't seem to work.

I guess I don't have to post the source code since it's similar to this repository, which is pretty much my guide so far.


Viewing all articles
Browse latest Browse all 28463

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>