Open Jayrathod192 opened 5 years ago
I have implemented code as in your video of finding driver .but i cannot get neaby driver .please help for this asap.
Has anyone managed to find a solution for this error? P.S. (I know its been close to a year since this has been asked)
Solved it! Make sure Storage is enabled in Firebase console
try to replace these programs https://github.com/siddhusalvi/UberGettingDriverLocation
Issue is in getClosestDriver() replace this line DatabaseReference driverRef = FirebaseDatabase.getInstance().getReference().child("Users").child("Drivers").child(drvierFoundId); with DatabaseReference driverLocation = FirebaseDatabase.getInstance().getReference().child("DriversAvailable");
I have implemented code as in your video of finding driver .but i cannot get neaby driver .please help for this asap.