-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
fix: react Native build does not maintain arrow functions and causes error with AsyncStorage #1587
Conversation
Thanks for opening this pull request!
|
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.
Looks good!
I will reformat the title to use the proper commit message syntax. |
# [3.5.0-alpha.7](3.5.0-alpha.6...3.5.0-alpha.7) (2022-11-01) ### Bug Fixes * React Native build does not maintain arrow functions and causes error with AsyncStorage ([#1587](#1587)) ([8aeaa4f](8aeaa4f))
🎉 This change has been released in version 3.5.0-alpha.7 |
🎉 This change has been released in version 3.5.1-beta.1 |
🎉 This change has been released in version 3.5.1-alpha.1 |
## [3.5.1](3.5.0...3.5.1) (2022-11-26) ### Bug Fixes * File upload fails when uploading base64 data ([#1578](#1578)) ([03ee3ff](03ee3ff)) * React Native build does not maintain arrow functions and causes error with AsyncStorage ([#1587](#1587)) ([8aeaa4f](8aeaa4f)) * SDK builds incorrectly since release 3.5.0 causing various bugs ([#1600](#1600)) ([f15154f](f15154f))
🎉 This change has been released in version 3.5.1 |
New Pull Request Checklist
Issue Description
The
metro-react-native-babel-preset
turns arrow functions into anonymous functions by default.new Promise((resolve, reject) => {}
gets transpiled intoRelated issue: #1580
Approach
Remove getAsyncStorage wrapper