Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finding driver issue #16

Open
Jayrathod192 opened this issue Jan 9, 2019 · 4 comments
Open

Finding driver issue #16

Jayrathod192 opened this issue Jan 9, 2019 · 4 comments

Comments

@Jayrathod192
Copy link

I have implemented code as in your video of finding driver .but i cannot get neaby driver .please help for this asap.

@aryaanlambe
Copy link

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)

@aryaanlambe
Copy link

Solved it! Make sure Storage is enabled in Firebase console

@siddhusalvi
Copy link

try to replace these programs
https://github.com/siddhusalvi/UberGettingDriverLocation

@siddhusalvi
Copy link

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");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants