Skip to content

Accessing value by native code but getting error #831

@virtuoso1234

Description

@virtuoso1234

I've followed this docs: https://react-native-async-storage.github.io/async-storage/docs/advanced/brownfield/ for accessing my appTheme in local storage, but in resumeWith(@NotNull Object o), I logged it in logcat, it showed: Failure(kotlinx.coroutines.JobCancellationException: StandaloneCoroutine has completed normally; job=StandaloneCoroutine{Completed}@7136858)

I tried both store appTheme by string and stringify but still have error, what did I do wrong?

Here is MyMainActivity's calling:
image

Reading value function:
image

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