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
You can use this code :
onDeletePost(id:string){ return this.http.delete(`https://my-angular8-prjt.firebaseio.com/posts/${id}.json`).subscribe(); }