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

@react-native-community/async-storage moved to @react-native-async-storage/async-storage #72

Open
helloimfrog opened this issue Apr 3, 2021 · 0 comments

Comments

@helloimfrog
Copy link

Hi! 👋

@react-native-community/async-storage moved to @react-native-async-storage/async-storage, so I used patch-package to patch @bang88/[email protected] for the project I'm working on.

Here is the diff that solved my problem, auto generated by patch-package:

diff --git a/node_modules/@bang88/react-native-ultimate-listview/src/refreshableScrollView.android.js b/node_modules/@bang88/react-native-ultimate-listview/src/refreshableScrollView.android.js
index 16fae01..2a25fc1 100644
--- a/node_modules/@bang88/react-native-ultimate-listview/src/refreshableScrollView.android.js
+++ b/node_modules/@bang88/react-native-ultimate-listview/src/refreshableScrollView.android.js
@@ -9,7 +9,7 @@ import {
   Text,
   View
 } from 'react-native'
-import AsyncStorage from '@react-native-community/async-storage'
+import AsyncStorage from '@react-native-async-storage/async-storage'
 import dateFormat from './util'
 
 const { width, height } = Dimensions.get('window')
diff --git a/node_modules/@bang88/react-native-ultimate-listview/src/refreshableScrollView.ios.js b/node_modules/@bang88/react-native-ultimate-listview/src/refreshableScrollView.ios.js
index 4b98e9e..c095641 100644
--- a/node_modules/@bang88/react-native-ultimate-listview/src/refreshableScrollView.ios.js
+++ b/node_modules/@bang88/react-native-ultimate-listview/src/refreshableScrollView.ios.js
@@ -1,6 +1,6 @@
 import React from 'react'
 import { ActivityIndicator, Animated, Easing, ScrollView, StyleSheet, Text, View } from 'react-native'
-import AsyncStorage from '@react-native-community/async-storage'
+import AsyncStorage from '@react-native-async-storage/async-storage'
 
 import dateFormat from './util'
 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant