nativescript-plugin-firebase icon indicating copy to clipboard operation
nativescript-plugin-firebase copied to clipboard

Error uploading an image to Storage on a real iOS device

Open sebalopezz opened this issue 5 years ago • 2 comments

Which platform(s) does your issue occur on?

  • iPhone iOS 13.5.1 (Real Device) via USB

Please, provide the following version numbers that your issue occurs with:

  • CLI: 6.7.4
  • Runtime(s): tns-android and tns-ios version 6.5.1
  • Plugin(s): "nativescript-plugin-firebase": "^10.5.2",

Please, tell us how to recreate the issue in as much detail as possible.

Describe the steps to reproduce it.

This error only happens when I test on my iPhone (real device). In the simulator of iOS and real Android devices it works perfectly. The problem is only with uploading files ... getDownloadURL for example works fine.

When I want to upload a file to Storage, I get the following errors:

For example, for the following image: /var/mobile/Media/DCIM/100APPLE/IMG_0311.PNG

Failed to issue sandbox extension for file file:///var/mobile/Media/DCIM/100APPLE/IMG_0311.PNG, errno = 1
error: An unknown error occurred, please check the server response.

sebalopezz avatar Jul 11 '20 22:07 sebalopezz

@EddyVerbruggen please help

sebalopezz avatar Jul 11 '20 22:07 sebalopezz

@sebalopezz did you find a solution already?

I'm having the same issue :(

Ayrix87 avatar May 16 '21 08:05 Ayrix87