How to implement background service in my app? I want to run the app in the background always without user interaction
I have a problem with diplaying notification while running socket connection in the background service i'm using react-native-backgound-action.
Problems i have right now:
when notification is sent from the backend nothing is been shown i'm using "stompJS" as socket connection and notifee as notification package.
react native background actions use forground service that shows a permanent notification in android.
i have tried to run notification in background
I have a chatting app and i am using livechat sdk to communicate between agent and client.When a chat is started {On chat started} callback is not received by the android app when its in background however its being received when its in foreground and its being received on the Ios app when its in background and foreground both.Is there anyway to capture the callback from livechat in background on android? Any help will be really appreciated.
My React-Native App has a headlessTask that is triggered when device receives an SMS. I want my app to open a screen when the SMS is received, even when app is not running.
I'm familiar with react-navigation, but since a headlessTask is not a component, I can't even send the navigation prop.
What I have tried:
Headless Task use inside component with React Native
the solution above only works if application is open.
P.S. In Native Android, I'm able to achieve this by starting the Activity inside the broadcast receiver.
You can use deep linking.
In your headless task use something like this:
Linking.openURL('example://sms-received/sms-data')
Also you should handle deep links in your app.
I'm developing a Messenger/Call app in React Native. Users can call each other. When all users are online there is no problem but when users go offline (close their app) they won't recognize calls. I need to run a service which listens to a specific types of message pushed by server.
I want to publish call signals by google GSM. (I can't use Firebase for some reasons)
Is there any library which I can use it or I have to define my own native module and Link it to React Native?