-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feat(aws-amplify-react-native): Add S3Text #6594
feat(aws-amplify-react-native): Add S3Text #6594
Conversation
Codecov Report
@@ Coverage Diff @@
## main #6594 +/- ##
=======================================
Coverage 73.30% 73.30%
=======================================
Files 208 208
Lines 12928 12928
Branches 2526 2526
=======================================
Hits 9477 9477
Misses 3260 3260
Partials 191 191 Continue to review full report at Codecov.
|
@cedricgrothues Looks like this is ready for review, could you change the status then? also could you update the screenshot with mobile screenshot?! like how it looks on android vs iOS (like how we did for the docs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great so far! I've made a couple of specific comments, but at a general level it'd be very helpful to also include a video/gif of this in action for more confirmation. I'm particularly interested in seeing the body
prop being used for Storage.put
as well as just the general content loading.
Also, since this is would be the first implementation for aws-amplify-react-native
using hooks, would you be able to verify any potential limitations of using this component or the library as a whole in previous version of React Native that don't support hooks (< 0.59)?
This pull request introduces 1 alert when merging 8c1cd80 into 128527c - view on LGTM.com new alerts:
|
@amhinson – As a placeholder, while loading the content from S3? |
Just curious in general to see the upload working as well as how the component behaves while the content is loading. |
@amhinson @ashika01 – As far as I can tell, Last version that doesn't support hooks: 0.58.6 (published Feb 28, 2019) |
@cedricgrothues I have come across some apps that are still using 0.58 (albeit a small percentage). In general, we're just looking to know what someone using < 0.59 might encounter, i.e.:
|
@amhinson – I just tested the |
@calebpollman and @Ashish-Nanda, are we still looking to add this? If not, I would like to close this pull request. |
@sammartinez Will take a look, thanks for bringing to my attention! |
@Ashish-Nanda Took a quick look at this and think code wise it is fine for the most part but wanted to confirm whether we are looking to add this to |
Hi @cedricgrothues - these React Native components for Storage are on their path to deprecation. I am closing this PR. Apologies for not getting to this sooner! |
Issue #, if available: N/A
Description of changes: This PR is part of the React Native Storage Refactor and adds an
S3Text
component toaws-amplify-react-native
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.