Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabled #63

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Enabled #63

wants to merge 3 commits into from

Conversation

RamboWasReal
Copy link

📖 Description

Possibility to enable or disable the killswitch.

⚠️ Problem

When we want to force an update, if the app goes into the background and then returns to the foreground, it reopens the alert, and gradually, the background becomes increasingly darker.

🤓 Solution

I added a parameter enabled that allows the validation to be activated or deactivated. For example, if I set enabled to true on the first render and later set it to false, when I put the app in the background and then return to the foreground, there are no more multiple alerts.

🦀 Dispatch

  • #dispatch/react
  • #dispatch/react-native

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant