I am making delivery boy app in react native expo so I need help that when new order placed (i have an api which returns true or false ) when true app should vibrate and play sound or notification in the background or when app is closed so how to do
Asked
Active
Viewed 330 times
-2
-
What have you tried so far? – Emil Karlsson Oct 25 '21 at 10:12
-
i have done in kotlin it works by background intent i have to do in react native – Tejas Sanjay Chaudhari Oct 25 '21 at 10:23
-
1Please provide enough code so others can better understand or reproduce the problem. – Community Oct 25 '21 at 10:27
1 Answers
0
I don't think it's ideal to implement this with normal HTTP requests, you need to research implementing these functionalities on the backend with either websockets or push notifications, read:

Ibrahim A. Elaradi
- 282
- 1
- 10