Reputation: 309
There is a requirement for download the database data as a .CSV
file. How can I get data from Firebase realtime database and convert it to .CSV
format in Android?
Firebase only gave manual download database in JSON
format.
Upvotes: 1
Views: 2073
Reputation: 138834
If you are looking for button that allows you download your database in another format than JSON
, there isnt't one. To solve you should do your yourself. So according to your database schema, you should write custom code that will help you convert a JSON
file to a CSV
file. A possile solution might be, Sridhar's answer from the following post:
Upvotes: 1