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

React Native: Calling Javascript function/code from Native Platform (iOS - Swift)

$
0
0

Sorry but I am new to React Native & Javascript. I am integrating a native iOS SDK into a React Native app. I have communication from the javascript side to native platform code (javascript can invoke swift methods and receive callbacks), great!. But in the SDK, a swift function is called (lets call it onComplete()) after some process completes (process could take hours). I was wondering if there is some way of invoking a javascript function or something to update UI from inside onComplete() swift method?


Viewing all articles
Browse latest Browse all 16750

Trending Articles



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