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

Back and Forth navigation with data between React Native Screen and iOS Native Screen

$
0
0

We have two screens in our React Native mobile app. Screen 1 in built in RN code(Javascript) whereas other Screen 2 is built in iOS native code(Swift). App has to navigate from Screen 1 to Screen 2 and come back with some contextual data(acquired at Screen 2) to Screen 1. So in other words, RN screen/page navigates to iOS Native screen/page, collects some user inputs there and goes back to RN screen with the collecfted data which makes use of this data to proceed further.

We have done the same in "RN to Android Native back navigation with data" scenario with methods like StartActivityForResult(...), SetResult(...), finish() and some listners in Android Native Module to support this. Having no iOS expertise available with us atm, We are looking for help (reference/blog/GitHub code/gist) to address this "RN to iOS back navigation with data" scenario.Any help is welcome and appreciated.


Viewing all articles
Browse latest Browse all 16750

Trending Articles



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