I have a react native app and I'm using an android native module to run a long task. While this task is going on, I would like to show a progress bar in my react native screen while this task is going on. How do i do this? I'm currently only able to get a callback once my long running task is over.
I want to be able to show meaningful progress. Like 10% done. Not just a loading spinner.