Skip to content

Wrong the value is not a string warning on multiRemove #267

Closed
@Bardiamist

Description

@Bardiamist

Current behavior

Warning

Expected behavior

No warning

Repro steps

AsyncStorage.setItem('a', '1').then(() => {
  AsyncStorage.multiRemove(['a']);
});

Environment

  • Async Storage version: 1.7.0
  • React-Native version: 0.61.5
  • Platform tested: iOS
  • Logs/Error that are relevant:
    [AsyncStorage] The value for key "a" is not a string. This can lead to unexpected behavior/errors. Consider stringifying it.
    Passed value: 0
    Passed key: a

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