Showing
5 changed files
with
7 additions
and
5 deletions
... | @@ -11,7 +11,7 @@ Debug=true | ... | @@ -11,7 +11,7 @@ Debug=true |
11 | # Production or Development environment of the engage server | 11 | # Production or Development environment of the engage server |
12 | # Production: https://engage.warp.ly | 12 | # Production: https://engage.warp.ly |
13 | # Development: https://engage-stage.warp.ly | 13 | # Development: https://engage-stage.warp.ly |
14 | -BaseURL=https://engage-stage.warp.ly | 14 | +BaseURL=https://engage.warp.ly |
15 | 15 | ||
16 | # For Verify Ticket request | 16 | # For Verify Ticket request |
17 | VerifyURL=/partners/cosmote/verify | 17 | VerifyURL=/partners/cosmote/verify | ... | ... |
... | @@ -36,7 +36,7 @@ public class SplashActivity extends BaseActivity { | ... | @@ -36,7 +36,7 @@ public class SplashActivity extends BaseActivity { |
36 | public void onWarplyReady() { | 36 | public void onWarplyReady() { |
37 | if (!WarplyDBHelper.getInstance(SplashActivity.this).isTableNotEmpty("auth")) { | 37 | if (!WarplyDBHelper.getInstance(SplashActivity.this).isTableNotEmpty("auth")) { |
38 | WarplyManager.getCosmoteUser(new WarplyCosmoteUserRequest() | 38 | WarplyManager.getCosmoteUser(new WarplyCosmoteUserRequest() |
39 | - .setGuid("6000757060"), //6012049321, 6012049322, 6012049323, 7000000831 history, 7000000826, 7000000831 shared coupons, prod 6006552990 | 39 | + .setGuid("3000184910"), //6012049321, 6012049322, 6012049323, 7000000831 history, 7000000826, 7000000831 shared coupons, prod 6006552990 |
40 | mLoginReceiver); | 40 | mLoginReceiver); |
41 | } else { | 41 | } else { |
42 | startNextActivity(); | 42 | startNextActivity(); | ... | ... |
... | @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' | ... | @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' |
2 | 2 | ||
3 | ext { | 3 | ext { |
4 | PUBLISH_GROUP_ID = 'ly.warp' | 4 | PUBLISH_GROUP_ID = 'ly.warp' |
5 | - PUBLISH_VERSION = '4.5.4.6rc3' | 5 | + PUBLISH_VERSION = '4.5.4.6rc4' |
6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' | 6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' |
7 | } | 7 | } |
8 | 8 | ... | ... |
... | @@ -58,8 +58,10 @@ public class WarplyAnalyticsManager { | ... | @@ -58,8 +58,10 @@ public class WarplyAnalyticsManager { |
58 | } | 58 | } |
59 | 59 | ||
60 | public static void logTrackersEvent(Context context, String eventType, String eventName) { | 60 | public static void logTrackersEvent(Context context, String eventType, String eventName) { |
61 | - if (WarpUtils.getTrackersEnabled(context)) | 61 | + if (WarpUtils.getTrackersEnabled(context)) { |
62 | + Warply.getInitializer(context).init(); | ||
62 | sendEvent(null, eventType.concat(":").concat(eventName), null, false); | 63 | sendEvent(null, eventType.concat(":").concat(eventName), null, false); |
64 | + } | ||
63 | } | 65 | } |
64 | 66 | ||
65 | /** | 67 | /** | ... | ... |
... | @@ -117,7 +117,7 @@ public class ExpiredCouponAdapter extends RecyclerView.Adapter<ExpiredCouponAdap | ... | @@ -117,7 +117,7 @@ public class ExpiredCouponAdapter extends RecyclerView.Adapter<ExpiredCouponAdap |
117 | SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm"); | 117 | SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm"); |
118 | Date newDate = new Date(); | 118 | Date newDate = new Date(); |
119 | try { | 119 | try { |
120 | - newDate = simpleDateFormat.parse(couponItem.getCreated()); | 120 | + newDate = simpleDateFormat.parse(couponItem.getChangesDates().optString("redeemed")); |
121 | } catch (ParseException e) { | 121 | } catch (ParseException e) { |
122 | e.printStackTrace(); | 122 | e.printStackTrace(); |
123 | } | 123 | } | ... | ... |
-
Please register or login to post a comment