Skip to content

Image selected is empty #221

@Mflm

Description

@Mflm

Hi all

I have a problem to upload an image in firebase.
I select an image and later I upload to firebase, in Android works well but in iOS, the image have 0 bytes.
Why?

context
.authorize()
.then(function()
{
return context.present();
})
.then(function(selection)
{
selection.forEach(function(selected)
{
var logoPath = appPath + selected.ios;
var childRef = storageRef.child(namefile);
childRef.put(fs.File.fromPath(logoPath)).then
(
uploadedFile =>
{
//HERE I Upload the file.
}
,error =>
{
console.log("firebase.doWebUploadFile error: " + error);
}
);
});
}).catch(function (e) {
console.log(e);
});

Thanks

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions