-
Notifications
You must be signed in to change notification settings - Fork 990
[🆕] NT-790 Additional Qualtrics properties #715
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.kickstarter.libs.qualifiers | ||
|
||
import javax.inject.Qualifier | ||
|
||
@Qualifier | ||
annotation class FirstSessionPreference |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ private SharedPreferenceKey() {} | |
|
||
public static final String ACCESS_TOKEN = "access_token"; | ||
public static final String CONFIG = "config"; | ||
public static final String FIRST_SESSION = "first_session"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you need to persist this outside of Qualtrics? I figured since you're able to get the value stored in Qualtrics' properties you could check if there is already something there otherwise set it (for the first time user thing). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I learned the hard way that Qualtrics calls the initialization block more than once 😒 so that's why I'm moved it here |
||
public static final String GO_REWARDLESS = "go_rewardless"; | ||
public static final String HAS_SEEN_APP_RATING = "has_seen_app_rating"; | ||
public static final String HAS_SEEN_GAMES_NEWSLETTER = "has_seen_games_newsletter"; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was under the impression (lol) that we didn't need the impression count anymore if we're confident that Qualtrics won't prompt us once we've taken the survey? Anyway, suppose no real harm in keeping it unless you wanted to simplify your code without it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This count is so we don't show users the prompt more than 3 times. Otherwise, we'd be hounding them until they took the survey.