Skip to content

[Upgrade to v3] : [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null. #255

@christophemenager

Description

@christophemenager

Context

  • I am using this lib in a react-native environment (not web)
  • I don't use AsyncStorage but mmkv storage

Before (v2)

  • Everything worked fine, no error

After (v3)

 ERROR  [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null. Please run 'npm install @react-native-async-storage/async-storage' or follow the Mixpanel guide to set up your own Storage class.
 ERROR  [Mixpanel] Falling back to in-memory storage
  • I don't want to install @RNC/AsyncStorage in my dependencies for this library only
  • Documentation is quite confusing about custom storage or not, async storage or not, web support and could be re-phrased I think

For now, I keep using 2.4.1 as v3 is not usable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions