Closed ndbroadbent closed 9 years ago
The asset library is currently not supported. You need to copy the assets to your app directory before initiating uploads. We are considering adding the assets library support in a future version.
Thanks for your help, I'll do that for now.
AWS SDK developers you should totally implement support for this, it would really help performance of apps that upload photos to the cloud!
+1 would be useful.
+1 also think this would make photo uploads more efficient
+1
+1
+1
+1, After Parse shutdown - AWS has good chance to pick grip on MBAAS.
+1
@drmarkpowell @ndbroadbent Hello, I can't upload "assets-library://" Video and image directly from this URL. Can you please help me out how can i implement this functionality? Thank you.
It seems that
AWSS3TransferManager
does not support uploading files directly from the assets library. I'm seeing this error in my logs:My
AWSS3TransferManagerUploadRequest
looks like this:I think it's having trouble with the
assets-library://
protocol. It would be awesome if the AWS iOS SDK could handle this properly, maybe by using the getBytes function on ALAssetRepresentation.Otherwise, how should I approach this? Should I just copy the asset data to a temporary file before each upload?
Thanks!