How do I set manual Firebase Database url to the code (Android)?

93 views
Skip to first unread message

Thivanka Sarathchandra

unread,
Aug 2, 2017, 9:40:47 AM8/2/17
to Firebase Google Group

old version of fire-base can add a url like “mRef=Firebase(“database-url”);

but in the new version how can i refer manually to my database specific path ? please what is the code?

Samuel Stern

unread,
Aug 2, 2017, 10:57:52 AM8/2/17
to Firebase Google Group
There are two places you can do this:
If you are using Firebase Auth and security rules to protect your database (and you should be!) you should use FirebaseApp to configure all of your Firebase services together.

- Sam

On Wed, Aug 2, 2017 at 6:40 AM Thivanka Sarathchandra <thivan...@gmail.com> wrote:

old version of fire-base can add a url like “mRef=Firebase(“database-url”);

but in the new version how can i refer manually to my database specific path ? please what is the code?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/a9ef6dc1-2799-4bdd-ab35-82118ca7a04f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages