wsloth / Index

The Index is a simple Hacker News reader app which is focused on making you read less, by only showing you the top stories of the last 24 hours.
10 stars 9 forks source link

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

Closed wsloth closed 2 years ago

wsloth commented 2 years ago

The onboarding screen was introduced in PR https://github.com/wsloth/Index/pull/12, but it does not retain a boolean for whether the user has already seen the onboarding screen.

To do:

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

REX51 commented 2 years ago

Hey @wsloth I would like to work on this

wsloth commented 2 years ago

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

REX51 commented 2 years ago

@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 commented 2 years ago

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

wsloth commented 2 years ago

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