how can I send request to nearby drivers what is the algorithm can please anyone guide me I am making ridesharing app.
Question posted in React native
The official React Native documentation can be found here.
The official React Native documentation can be found here.
2
Answers
You can do it by splitting areas into topics depending on location and subscribe users to this topics so they will be able to receive the correct notifications.
Here you can see the how with FCM
i guess this is what you are looking for (in-depth explanation with code)-
Build Your Own Uber/Lyft App with Geolocation Tracking