Giter VIP home page Giter VIP logo

Comments (11)

CrackyStudio avatar CrackyStudio commented on June 17, 2024 1

I'm interested about using presigned url too because keys are exposed if used by this package way :/

from react-native-aws3.

fozzarelo avatar fozzarelo commented on June 17, 2024 1

@MayoudP, @dylan-westbury: guys, there haven't been too many changes to this repo in the last year. & this conversation went stale a while ago. I liked this lib because it's robust, nice and simple, but if you need presigned urls I suggest you move on.
I recommend you convert your pic to a blob and send it to s3 via a regular PUT call. dm if you need help w/that.

from react-native-aws3.

arapocket avatar arapocket commented on June 17, 2024

Yeah, don't want to leave my keys hardcoded anywhere.

from react-native-aws3.

abhionlyone avatar abhionlyone commented on June 17, 2024

@benjreinhart Any idea of implementing this?

from react-native-aws3.

arapocket avatar arapocket commented on June 17, 2024

Anyone else have a solution for this? Is there something like dotenv for react-native at least?

from react-native-aws3.

husseinraoouf avatar husseinraoouf commented on June 17, 2024

+1

from react-native-aws3.

fozzarelo avatar fozzarelo commented on June 17, 2024

+1

from react-native-aws3.

MayoudP avatar MayoudP commented on June 17, 2024

Still nothing ?

from react-native-aws3.

dylan-westbury avatar dylan-westbury commented on June 17, 2024

Anyone have a solution for uploading via presigned url?

I use a lambda to generate and return to client, but not sure how to upload with it, in particular for react-native-background-downloader

from react-native-aws3.

MayoudP avatar MayoudP commented on June 17, 2024

I recommend you convert your pic to a blob and send it to s3 via a regular PUT call. dm if you need help w/that.

Unfortunately, I can't, I tried several librairies, but every time, when using the pre signed URL I received, I'm getting this error (was working well on RN 0.59.x and fail on RN 0.61.x :

"<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>EntityTooLarge</Code>
<Message>Your proposed upload exceeds the maximum allowed size</Message>
<ProposedSize>2025220</ProposedSize>
<MaxSizeAllowed>2023115</MaxSizeAllowed>
<RequestId>{...}</RequestId>
<HostId>{...}</HostId>
</Error>"

Was hoping this lib could help me ahah ^^'

from react-native-aws3.

talhafayyaz12 avatar talhafayyaz12 commented on June 17, 2024

+1 if this is implemented it would be great.

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.