Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Provide an action to clean rn-secure-storage in development mode #647

@itofarina

Description

@itofarina

Description
When the app is launched for the first time, it connects to the server and creates a user account. The server returns a key to the phone which is stored on the device using rn-secure-storage.
If the server is changed in the .env file, then the app will attempt to connect to the new server but no user exists there. Therefore, there needs to be a way to reset the app, including erasing the content stored in rn-secure-storage.
The current workaround is for the developer to completely uninstall the application, and reinstall it.

Proposed solution
The suggested fix would be if the app is running in development mode, had a button somewhere (perhaps the "me" page) to reset the app. This would erase all the content, and show a window that can not be closed. The developer can then completely close the app and relaunch it.

Description written by @jessgusclark (thanks!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions