Skip to content

Commit 382c5a4

Browse files
authored
fix(react-native): Change @react-native-community/async-storage to @react-native-async-storage/async-storage (#314)
1 parent 1a658a6 commit 382c5a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ A JavaScript SDK for tracking events and revenue to [Amplitude](https://www.ampl
3030
This library now supports react-native. It has two dependencies on react-native modules you will have to install yourself:
3131

3232
* [react-native-device-info](https://www.npmjs.com/package/react-native-device-info) Tested with version 3.1.4
33-
* [@react-native-community/async-storage](https://www.npmjs.com/package/@react-native-community/async-storage) Tested with version 1.6.2
33+
* [@react-native-async-storage/async-storage](https://www.npmjs.com/package/@react-native-async-storage/async-storage) Tested with version 1.6.2
3434

3535
## Node.js
3636
Please visit [Amplitude-Node](https://github.com/amplitude/Amplitude-Node) for our Node SDK.

src/amplitude-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let Platform;
2323
let DeviceInfo;
2424
if (BUILD_COMPAT_REACT_NATIVE) {
2525
const reactNative = require('react-native');
26-
AsyncStorage = require('@react-native-community/async-storage').default;
26+
AsyncStorage = require('@react-native-async-storage/async-storage').default;
2727
Platform = reactNative.Platform;
2828
DeviceInfo = require('react-native-device-info');
2929
}

0 commit comments

Comments
 (0)