android - How can I change name of the uploaded file to firebase storage? -


i have created storage reference , described file want change name of it. storage reference has no method related goal.

you can change image name this:

storage = firebasestorage.getinstance().getreference(); long tslong = system.currenttimemillis() / 1000; string ts = tslong.tostring(); storagereference storagereference = storage.child("image").child(ts + ".jpg"); 

Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -