Open mustafa-sarshar opened 1 year ago
A temporary solution, may be to just ignore the warning as follows:
import { LogBox } from "react-native"; LogBox.ignoreLogs([ "AsyncStorage has been extracted from react-native core and will be removed in a future release.", ]);
But, I guess it is not a long-term solution.
regards, Musto
Issue Description
Since, the react-native package is already updated and the AsyncStorage is now a separate package, where it can be installed via, npm i @react-native-async-storage/async-storage, I guess, it is a good time to update the use of this package in your code.
Best regards Musto
Steps to Reproduce / Code Snippets
Any time, using the GiftedChat component.
Expected Results
It produces the following warning: AsyncStorage has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-async-storage/async-storage' instead of 'react-native'. See https://github.com/react-native-async-storage/async-storage
Additional Information