Skip to content

Entries must be arrays of the form [key: string, value: string] #190

Closed
@cipriancaba

Description

@cipriancaba

Current behavior

When trying to set a null key on iOS 12.4, this error gets triggered and crashes the app Entries must be arrays of the form [key: string, value: string]

Expected behavior

Fail writing the key and log a warning/error but don't crash the app

Repro steps

Try to set an item to null on iOS

Environment

  • Async Storage version: 1.6.1
  • React-Native version: 0.60.4
  • Platform tested: iOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions