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

Add user prefs table - instead of using prefs activity - to help with shared devices #465

Closed
alexlittle opened this issue Sep 2, 2015 · 1 comment

Comments

@alexlittle
Copy link
Member

No description provided.

@alexlittle alexlittle added this to the October milestone Sep 2, 2015
@alexlittle alexlittle modified the milestone: October Oct 5, 2015
@alexlittle alexlittle modified the milestones: November 2015, December 2015 Oct 26, 2015
jjoseba added a commit to jjoseba/oppia-mobile-android that referenced this issue Dec 4, 2015
* Resets to default preference values when a user logs in for the first time
jjoseba added a commit to jjoseba/oppia-mobile-android that referenced this issue Dec 4, 2015
* Resets to default preference values when a user logs in for the first time
@jjoseba jjoseba mentioned this issue Dec 7, 2015
@alexlittle alexlittle modified the milestone: December 2015 Jan 4, 2016
@alexlittle alexlittle added this to the Jan 2016 milestone Jan 5, 2016
@alexlittle
Copy link
Member Author

From email:

"For this one, I guess that it only makes sense to save to database the user-related preferences instead of all of them, right? And also, I think that ussing the Preferences API is more robust, so my approach will be:

  1. when a user logs in, search if he has saved preferences, and override the current ones. If not, set the default ones.
  2. when the user logs out, save her preferences to the database."

Yes - that all sounds good

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

No branches or pull requests

1 participant