Panagiotis Triantafyllou

new version

...@@ -12,6 +12,9 @@ Debug=true ...@@ -12,6 +12,9 @@ Debug=true
12 # Development: https://engage-stage.warp.ly 12 # Development: https://engage-stage.warp.ly
13 BaseURL=https://engage-stage.warp.ly 13 BaseURL=https://engage-stage.warp.ly
14 14
15 +# For Verify Ticket request
16 +VerifyURL=/partners/gapp/verify
17 +
15 #WebActionHandler=app_package_name.WarplyWebActionHandler 18 #WebActionHandler=app_package_name.WarplyWebActionHandler
16 19
17 # Replace the color with one you want the progress bar to have depending on you app theme-coloring 20 # Replace the color with one you want the progress bar to have depending on you app theme-coloring
......
...@@ -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-cosbeta11' 5 + PUBLISH_VERSION = '4.5.4-cosbeta12'
6 PUBLISH_ARTIFACT_ID = 'warply-android-sdk' 6 PUBLISH_ARTIFACT_ID = 'warply-android-sdk'
7 } 7 }
8 8
......
...@@ -1486,7 +1486,7 @@ public enum Warply { ...@@ -1486,7 +1486,7 @@ public enum Warply {
1486 if (warplyPath.equals("handle_image")) 1486 if (warplyPath.equals("handle_image"))
1487 sb = new StringBuilder(WarplyProperty.getBaseUrl(mContext.get()) + WarpConstants.BASE_URL_API); 1487 sb = new StringBuilder(WarplyProperty.getBaseUrl(mContext.get()) + WarpConstants.BASE_URL_API);
1488 else if (warplyPath.equals("verify")) 1488 else if (warplyPath.equals("verify"))
1489 - sb = new StringBuilder(WarplyProperty.getBaseUrl(mContext.get()) + WarpConstants.BASE_URL_VERIFY); 1489 + sb = new StringBuilder(WarplyProperty.getBaseUrl(mContext.get()) + WarplyProperty.getVerifyUrl(mContext.get()));
1490 else 1490 else
1491 sb = new StringBuilder(WarplyProperty.getBaseUrl(mContext.get()) + WarpConstants.BASE_URL_AUTH); 1491 sb = new StringBuilder(WarplyProperty.getBaseUrl(mContext.get()) + WarpConstants.BASE_URL_AUTH);
1492 } 1492 }
......
...@@ -49,6 +49,7 @@ public class WarplyProperty { ...@@ -49,6 +49,7 @@ public class WarplyProperty {
49 public static final String KEY_LOGIN_TYPE = "LoginType"; 49 public static final String KEY_LOGIN_TYPE = "LoginType";
50 public static final String KEY_DL_URL_SCHEME = "DL_URL_SCHEME"; 50 public static final String KEY_DL_URL_SCHEME = "DL_URL_SCHEME";
51 public static final String KEY_BASE_URL = "BaseURL"; 51 public static final String KEY_BASE_URL = "BaseURL";
52 + public static final String KEY_VERIFY_URL = "VerifyURL";
52 53
53 // =========================================================== 54 // ===========================================================
54 // Methods 55 // Methods
...@@ -199,6 +200,10 @@ public class WarplyProperty { ...@@ -199,6 +200,10 @@ public class WarplyProperty {
199 return getWarplyProperty(context, KEY_BASE_URL); 200 return getWarplyProperty(context, KEY_BASE_URL);
200 } 201 }
201 202
203 + public static String getVerifyUrl(Context context) {
204 + return getWarplyProperty(context, KEY_VERIFY_URL);
205 + }
206 +
202 public static boolean isSendPackages(Context context) { 207 public static boolean isSendPackages(Context context) {
203 return Boolean.parseBoolean(getWarplyProperty(context, KEY_SEND_PACKAGES)); 208 return Boolean.parseBoolean(getWarplyProperty(context, KEY_SEND_PACKAGES));
204 } 209 }
......
...@@ -81,4 +81,40 @@ public class WarplyEventBusManager { ...@@ -81,4 +81,40 @@ public class WarplyEventBusManager {
81 public HashMap<String, Object> subscribeWarplyEventBus() { 81 public HashMap<String, Object> subscribeWarplyEventBus() {
82 return mWarplyEventBusManager; 82 return mWarplyEventBusManager;
83 } 83 }
84 +
85 + public String getEventName() {
86 + return eventName;
87 + }
88 +
89 + public LoyaltySDKFirebaseEventModel getFireEvent() {
90 + return fireEvent;
91 + }
92 +
93 + public LoyaltyContextualOfferModel getCcms() {
94 + return ccms;
95 + }
96 +
97 + public HashMap<String, Object> getmWarplyEventBusManager() {
98 + return mWarplyEventBusManager;
99 + }
100 +
101 + public WarplyPacingCardEventModel getPacingCard() {
102 + return pacingCard;
103 + }
104 +
105 + public WarplyPacingCardServiceEnabledModel getPacingService() {
106 + return pacingService;
107 + }
108 +
109 + public WarplyDealsAnalysisEventModel getDealsAnalysis() {
110 + return dealsAnalysis;
111 + }
112 +
113 + public WarplyCCMSEnabledModel getCcmsActivated() {
114 + return ccmsActivated;
115 + }
116 +
117 + public LoyaltyGiftsForYouOfferClickEvent getGiftsYou() {
118 + return giftsYou;
119 + }
84 } 120 }
......