I am using Firebase realtime database in Android app, and have data like this:
How can i delete the record \"Apple\" (marked in picture)?
A
If you are using firebase-admin you can simply try this out as
admin.ref(`/users/${userid}`).remove()
and that works for me.
And also do remember to use async and await syntax.
async
await