amplitude / amplitude/Amplitude-TypeScript

Remove AsyncStorage package dependency for React Native

Open
#540 6 comments 15 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
180
Forks
68
Avg merge
3d 1h
Merged PRs (30d)
29

Description

## Summary

After setting up our own custom storage provider (we are currently using `react-native-mmkv-storage`), we intend to remove the AsyncStorage library. However, we run into the error when trying to do so: `Error: [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null`

Would like to know if there's a way we can completely remove the dependency on `@react-native-async-storage/async-storage` from the Amplitude package or if there's a recommended workaround for this issue?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.