Skip to content

Access data saved by react native in swift #514

Description

@andredewaard

You want to:

Ask question

Details:

I have an React native app which saves a key with Async storage. That key is used to send via the api to the backend to see if the user is logged in or not.
Now im creating a Share extension for the app and want to do that in native swift because the plugin for react native to add a share extension is outdated.
I want to access the key saved in storage in swift so i can do a call to the backend with swift to see if a user is logged in and receive some data to populate the share extension.
How can i do this?
Im new to swift / xcode development so i have not much experience with that.
I already checked this doc but dont know how to implement that.

Hope somebody can help me with this.

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