Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blob is not being saved on IOS #26

Closed
maoapp opened this issue Jul 23, 2021 · 2 comments
Closed

Blob is not being saved on IOS #26

maoapp opened this issue Jul 23, 2021 · 2 comments

Comments

@maoapp
Copy link

maoapp commented Jul 23, 2021

The library is working perfect on android but on IOS the blob is not being saved and I don't receive any feedback on the request

@etonnelier
Copy link

etonnelier commented Jul 13, 2022

I had the same problem :
I replaced
[blockBlob uploadFromFileWithURL:[NSURL URLWithString:filePath] completionHandler:^(NSError * error) {
with
[blockBlob uploadFromFileWithPath:filePath completionHandler:^(NSError * error) {

My guess is that it is specific to images being on the device. The other way (uploadFromFileWithURL) probably works fine with online images. Just a guess, I didn't check it.

FYI : Due to another bug, I had to use the uploadBlobToContainer function instead of uploadBlobToContainerSas (see #49 (comment)).
So I never tested uploadFromFileWithPath within the uploadBlobToContainerSas function but it should work well there too.

@Elijah23Johnson
Copy link
Owner

closing issue because its stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants