react-native-ultimate-listview icon indicating copy to clipboard operation
react-native-ultimate-listview copied to clipboard

`@react-native-community/async-storage` moved to `@react-native-async-storage/async-storage`

Open helloimfrog opened this issue 3 years ago • 0 comments

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'
 

helloimfrog avatar Apr 03 '21 14:04 helloimfrog