aws-mobile-appsync-sdk-js icon indicating copy to clipboard operation
aws-mobile-appsync-sdk-js copied to clipboard

EXPO SDK 41 not working because of @react-native-community/async-storage

Open manusharian opened this issue 4 years ago • 5 comments

Hello, I've noticed that the @react-native-community/async-storage package is for some time @react-native-async-storage/async-storage inside expo sdk 41. Is there timeframe for this update if at all?

manusharian avatar Jun 05 '21 15:06 manusharian

Hello

I have exactly the same problem. @react-native-community/async-storage moved to @react-native-async-storage/async-storage. This is a dependency of expo and therefore I can't upgrade to expo sdk 41.

mdebo avatar Jun 06 '21 09:06 mdebo

Is there any timeframe for this update?

thanks

mdebo avatar Jun 07 '21 14:06 mdebo

Also amplify-js is depended on @react-native-async-storage/async-storage. So if you are using both packages, and most likely you will if you are using AWS AppSync, you'll end up dependent on 2 packages of AsyncStorage

tien avatar Jun 18 '21 04:06 tien

@tien appsync javascript sdk dependencies have to be upgraded. @react-native-community/async-storage has moved to @react-native-async-storage/async-storage. Expo is using it in his latest version (41). So to be able to use Appsync js sdk this dependency should be updated.

mdebo avatar Jun 18 '21 21:06 mdebo

This includes a dependency on @redux-offline/[email protected] which also uses @react-native-async-storage/async-storage fixed here https://github.com/redux-offline/redux-offline/releases/tag/2.6.0-native.1

noo-bass avatar Aug 20 '21 14:08 noo-bass