how can I send request to nearby drivers what is the algorithm can please anyone guide me I am making ridesharing app.
CodePudding user response:
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
CodePudding user response:
i guess this is what you are looking for (in-depth explanation with code)-