Open m1ga opened 7 months ago
methods:
create()
upload()
firebase.storage-android-1.0.0.zip
var myBlob = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, "images/default.png"); if (myBlob.exists()) { FirebaseStorage.create(); FirebaseStorage.upload({ data: myBlob.read(), callback: function(e) { if (!e.success) { Ti.API.error('Error: ' + e.error); } Ti.API.info('Upload completed! Download-URL: ' + e.downloadURL); } }); }
methods:
create()
(had this for debugging, need to see if I still need it)upload()
firebase.storage-android-1.0.0.zip