【发布时间】:2022-01-03 06:17:21
【问题描述】:
Uri downloaduri=taskSnapshot.getDownloadUrl();//here i cant use getdownloadurl() function
DatabaseReference new_prod=db.push();
new_prod.child("product name").setValue(prod_name);
new_prod.child("product price").setValue(prod_price);
new_prod.child("available stock").setValue(prod_quan);
new_prod.child("product image").setValue(downloaduri);
pd.dismiss();//fragments code
我无法使用getdownloadurl。我已经在firebase存储中存储了图像。是限制使用getdownloadurl的片段吗?我的动机是查询存储在 firebase 中。请帮助我。
【问题讨论】:
标签: android firebase firebase-realtime-database firebase-storage