Connecter l'application avec firebase (How do you sign up for a Firebase account?)

What you hope to do is still not clear.

Perhaps something like this is what you want to do?

How to broadcast a GPS location and share the information on a map with others in real time..CloudDB . The tutorial uses a CloudDB but you could use similar code with a FirebaseDB.

If that is not true, please explain what you expect to do with an example or using different words.