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?
↧