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

Use SharedPreferences to store whether the user has already seen the app onboarding screen #14

Closed
wsloth opened this issue Oct 22, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed

Comments

@wsloth
Copy link
Owner

wsloth commented Oct 22, 2021

The onboarding screen was introduced in PR #12, but it does not retain a boolean for whether the user has already seen the onboarding screen.

To do:

  • Install the Shared Preferences package
  • After the onboarding screen has been shown, store a boolean value
  • When re-opening the app, evaluate whether the boolean is present and skip the onboarding screen

Anybody can pick this up, no assignments necessary. Let me know if I need to provide more info!

@wsloth wsloth added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers hacktoberfest labels Oct 22, 2021
@REX51
Copy link
Contributor

REX51 commented Oct 23, 2021

Hey @wsloth I would like to work on this

@wsloth
Copy link
Owner Author

wsloth commented Oct 24, 2021

@REX51 thanks for taking interest, feel free to pick up this issue!

@REX51
Copy link
Contributor

REX51 commented Oct 27, 2021

@wsloth checkout my PR #16
I have added shared preferences and permission handler to get access to local storage to store the shared preferences.
User will be prompted to "allow/deny" access to local storage for the very first time loading the app, once it is allowed, on boarding screen will load only once for the user.

@REX51
Copy link
Contributor

REX51 commented Oct 29, 2021

Hey @wsloth let me know if anything is required from my end #16

@wsloth
Copy link
Owner Author

wsloth commented Oct 31, 2021

Sorry for the delay @REX51, I was really busy at work! Your changes look and work great, thanks for your contribution! 👏

@wsloth wsloth closed this as completed Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants