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

Native ios crash when uploading blob with aws amplify #5874

Closed
thekrol01 opened this issue May 23, 2020 · 3 comments
Closed

Native ios crash when uploading blob with aws amplify #5874

thekrol01 opened this issue May 23, 2020 · 3 comments
Labels
React Native React Native related issue Storage Related to Storage components/category to-be-reproduced Used in order for Amplify to reproduce said issue

Comments

@thekrol01
Copy link

Describe the bug
This is already a known bug at React native
facebook/react-native#27857

The bug only happens on IOS not on Android.
For me the crash appeared on IOS after an upgrade from React Native 0.61.4 to 0.61.5.

Because the bug is not fixed yet, Perhaps there is a workaround possible?

To Reproduce
Steps to reproduce the behavior:

  1. Upload a blob with the put command

Expected behavior

  1. no IOS crash when uploading a blob, same behaviour as Android.

Code Snippet
This is a snack from the issue mentioned above.
https://snack.expo.io/@chris-feist/document-upload-issue-demo

What is Configured?
aws-sdk ( "aws-amplify": "^2.2.7",), react native 0.61.5 on a physical device with Testflight. Same code works fine with RN 0.61.4. The crash happens randomly after every one or two PUT uploads.

Smartphone (please complete the following information):

  • Device: all IOS devices
  • OS: 12 and 13
@thekrol01 thekrol01 added the to-be-reproduced Used in order for Amplify to reproduce said issue label May 23, 2020
@amhinson
Copy link
Contributor

@thekrol01 Could you try using the latest version of aws-amplify@latest and see if your problem still persists? The latest release included some updates related to blobs in React Native. Also, since you are coming from Ampify V2, you can check out the migration guide to V3 as well.

@amhinson amhinson added React Native React Native related issue Storage Related to Storage components/category labels May 26, 2020
@stale
Copy link

stale bot commented Jun 3, 2020

This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems.

@stale stale bot closed this as completed Jun 3, 2020
@github-actions
Copy link

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
React Native React Native related issue Storage Related to Storage components/category to-be-reproduced Used in order for Amplify to reproduce said issue
Projects
None yet
Development

No branches or pull requests

3 participants