0

I have a application which works on Firebase Database.After successfull Login of a user created in Firebase using Firebase Auth user is saving some data in Firebase.The requirement is I need to add the data POST by that user with some key to identify data.

[
{
    "key":"Satyam",
    "value":"some data"
},
{
    "key":"Akash",
    "value":"some data"
},
{
    "key":"Yash",
    "value":"some data"
}
]  

Suppose user Satyam has login using credentials of Firebase Auth,so data POST by Satyam need to be added in database where key is Satyam. How to achieve this ?

3
  • 1
    possible duplicate stackoverflow.com/questions/39076988/… Commented Jan 27, 2019 at 12:34
  • @Satyam: I'm not sure I understand what the problem is. Can you update your question to show what you've already tried? Commented Jan 27, 2019 at 14:59
  • I have used FirebaseAuth for creating account of user.Suppose a user Log in with credentials and adding some data to database. I should be able to understand that data is added by that specific user.I am thinking of identifier as a Key in JSON return by Firebase database when data is returned. Commented Jan 28, 2019 at 6:19

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.