Skip to content

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

@helloimfrog

Description

@helloimfrog

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'
 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions