In our React Native app, I've called a iOS native view controller. And It has been done with the solution given in following link : React-Native iOS - How can I navigate to a non-React-Native view (native iOS view controller) from a React-Native view with a button press?
As mentioned in solution, control is coming back to react native with the following code :
// Dismiss the VC so control go back from iOS to react-native
[self dismissViewControllerAnimated:TRUE completion:nil];
My question is, how can I pass parameters (some response values) back to react native view? and how can intercept it back on same react native view code. Looking at the documentation, I found some way to use callback parameters, but I ain't understand much on how to use it in my code.