Git Product home page Git Product logo

Comments (5)

MrHubble avatar MrHubble commented on June 26, 2024 2

@benjreinhart Thanks for creating react-native-aws3 in the first place. It has helped me immensely with my first React Native app.

I'm happy to help with closing stale issues and other similar tasks.

However, is there still a need for this library over just using the default AWS SDK for JavaScript?

As discussed in another issue I had to use the the default aws-sdk library to put with a buffer body rather than post with a file object (POST as used by react-native-aws3 requires a file object, whereas S3 PUT does not).

I also just discovered that we can report the progress with aws-sdk, ie:

var request = s3.putObject(params);
request.on('httpUploadProgress', function (progress) {
  console.log(progress.loaded + " of " + progress.total + " bytes");
});
request.send();

I'm just trying to understand the need to maintain react-native-aws3 as it's helped me greatly and I would like to help maintain it in some way if it still fills a need by the community.

from react-native-aws3.

benjreinhart avatar benjreinhart commented on June 26, 2024 2

@MrHubble sadly, I think you're right. I originally started this because I did not want native dependencies and I wanted a simple interface. At the time at least, the aws sdk was confusing, bloated and required native dependencies. I have not looked at it in over a year, so not sure of the current state.

There is so much more that could be done with this library. I built it to support my needs and then I ended up moving on from my RN app and so this library has been relatively unmaintained since then.

If there is a version of the aws sdk which does not require native dependencies, then I would think this library no longer has any advantages and likely lacks a ton of functionality found in the sdk.

from react-native-aws3.

sibelius avatar sibelius commented on June 26, 2024

@MrHubble this is not addressed yet aws/aws-sdk-js#1595

But https://github.com/awslabs/aws-sdk-react-native looks promising

from react-native-aws3.

drews256 avatar drews256 commented on June 26, 2024

@benjreinhart What would you think about making a note about this in the Readme? Or pointing people towards AWS Amplify or the AWS JS SDK?

from react-native-aws3.

edoantonioco avatar edoantonioco commented on June 26, 2024

This library is still needed. The other available options all require linking, which make it not suitable for Expo apps.

from react-native-aws3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.