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

Cannot upload files from asset-library url #7

Open
benjreinhart opened this issue Mar 16, 2016 · 6 comments
Open

Cannot upload files from asset-library url #7

benjreinhart opened this issue Mar 16, 2016 · 6 comments

Comments

@benjreinhart
Copy link

Passing an asset-library:// url to transfer utility is not allowed. Looks like this issue?

Anyways, is there an alternative for working with asset-library urls which are returned from the camera roll?

@brianjd
Copy link

brianjd commented May 12, 2016

@benjreinhart Did you find an alternative?

@jhen0409
Copy link
Member

@brianjd, @benjreinhart's react-native-aws3 can do. :D

I recently had a similar use case for asset-library://, I temporary use react-native-save-asset-library, and consider add this behavior to react-native-s3.

@benjreinhart
Copy link
Author

@brianjd yes react-native-aws3 should work for uploading files with either URL types and has the added benefit of no native dependencies. However, it currently only supports authenticated PutObject calls. I've been meaning to add more support because it has the potential to be a very useful library but unfortunately my time has been limited.

@brianjd
Copy link

brianjd commented May 15, 2016

@jhen0409 @benjreinhart Thanks for the responses. But in my case, use of the transferUtility is important, I think it will be a great boost for UX. So I will experiment with using react-native-save-asset-library , but I am concerned with file management.

@benjreinhart
Copy link
Author

@brianjd ... what about the transfer utility do you think will be great for UX over another solution? Just curious because if there's something great that I'm missing I'd consider adding it.

@brianjd
Copy link

brianjd commented May 16, 2016

@benjreinhart A few reasons, the maturity of aws sdk, the ability to convert to background job and simply monitor from js when in foreground. I'll be dealing with people uploading 10+ high res images on avg at a time.

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