Panagiotis Triantafyllou

minor future addition

......@@ -37,9 +37,9 @@ public class SplashActivity extends BaseActivity {
public void onWarplyReady() {
if (!WarplyDBHelper.getInstance(SplashActivity.this).isTableNotEmpty("auth")) {
//6012049321, 6012049322, 6012049323, 7000000831 history, 7000000826, 7000000831 shared coupons
//prod 6006552990, prod 6005892749, live 3000184910,prod 7000070282
//prod 6006552990, prod 6005892749, live 3000184910,prod 7000070282, live 3000136179
WarplyManager.getCosmoteUser("7000000833", mLoginReceiver);
// WarplyManager.verifyTicket("", "7000000833", mLoginReceiver);
// WarplyManager.verifyTicket("", "7000023699", mLoginReceiver);
} else {
startNextActivity();
}
......
......@@ -149,11 +149,23 @@ public class WarpUtils {
+ "trackers_enabled";
private static final String PREFERENCES_KEY_LANGUAGE = PREFERENCES_PREFIX
+ "language";
private static final String PREFERENCES_KEY_STEPS = PREFERENCES_PREFIX
+ "steps";
private static SharedPreferences _prefs;
/* Public methods */
public static boolean getIsSteps(Context context) {
return getPreferences(context).getBoolean(PREFERENCES_KEY_STEPS, false);
}
public static void setIsSteps(Context context, boolean isSupermarket) {
SharedPreferences.Editor editor = getPreferences(context).edit();
editor.putBoolean(PREFERENCES_KEY_STEPS, isSupermarket);
editor.apply();
}
public static String getUserTag(Context context) {
return getPreferences(context).getString(PREFERENCES_KEY_USER_TAG, "");
}
......