rn-heartbeat
rn-heartbeat copied to clipboard
Show modal if even RN project have closed
Hello, I have run your project which working fine, In my app I show modal popup when app is active or in use but when the app closed the popup is not working. can I show this modal popup with this service?
Hello @mdkamrulcse.
The service created in this project has its own thread and it's not attached to the UI thread. As far as I know, there isn't any way to open a modal outside the app.
can you let me please how can I do this type service which can connect with UI and user can see modal UI even app have closed? I am working for update user location in background and fire socket with the lat and long, and my plan is to accept user request even if user closed the app
Have you tried to open your app from this service and then show to the user the modal?
I have tried at headless task but this not opening if closed
Have you tried this react-native-invoke-app?
I see this repo have some issues with android 10