Panagiotis Triantafyllou

new keys

......@@ -11,7 +11,7 @@ Debug=true
# Production or Development environment of the engage server
# Production: https://engage.warp.ly
# Development: https://engage-stage.warp.ly
BaseURL=https://engage-stage.warp.ly
BaseURL=https://engage.warp.ly
# For Verify Ticket request
VerifyURL=/partners/cosmote/verify
......
......@@ -36,7 +36,7 @@ public class SplashActivity extends BaseActivity {
public void onWarplyReady() {
if (!WarplyDBHelper.getInstance(SplashActivity.this).isTableNotEmpty("auth")) {
WarplyManager.getCosmoteUser(new WarplyCosmoteUserRequest()
.setGuid("6000757060"), //6012049321, 6012049322, 6012049323, 7000000831 history, 7000000826, 7000000831 shared coupons, prod 6006552990
.setGuid("3000184910"), //6012049321, 6012049322, 6012049323, 7000000831 history, 7000000826, 7000000831 shared coupons, prod 6006552990
mLoginReceiver);
} else {
startNextActivity();
......
......@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
ext {
PUBLISH_GROUP_ID = 'ly.warp'
PUBLISH_VERSION = '4.5.4.6rc3'
PUBLISH_VERSION = '4.5.4.6rc4'
PUBLISH_ARTIFACT_ID = 'warply-android-sdk'
}
......
......@@ -58,9 +58,11 @@ public class WarplyAnalyticsManager {
}
public static void logTrackersEvent(Context context, String eventType, String eventName) {
if (WarpUtils.getTrackersEnabled(context))
if (WarpUtils.getTrackersEnabled(context)) {
Warply.getInitializer(context).init();
sendEvent(null, eventType.concat(":").concat(eventName), null, false);
}
}
/**
* Log screen events so after we can check if there are in app campaigns to show
......
......@@ -117,7 +117,7 @@ public class ExpiredCouponAdapter extends RecyclerView.Adapter<ExpiredCouponAdap
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm");
Date newDate = new Date();
try {
newDate = simpleDateFormat.parse(couponItem.getCreated());
newDate = simpleDateFormat.parse(couponItem.getChangesDates().optString("redeemed"));
} catch (ParseException e) {
e.printStackTrace();
}
......