Showing
9 changed files
with
71 additions
and
9 deletions
... | @@ -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.6rc80' | 5 | + PUBLISH_VERSION = '4.5.5.4r1' |
6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' | 6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' |
7 | } | 7 | } |
8 | 8 | ... | ... |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
warply_android_sdk/src/main/java/ly/warp/sdk/io/models/VouchersServiceUnavailableEventModel.java
0 → 100644
1 | +/* | ||
2 | + * Copyright 2010-2013 Warply Ltd. All rights reserved. | ||
3 | + * | ||
4 | + * Redistribution and use in source and binary forms, without modification, are | ||
5 | + * permitted provided that the following conditions are met: | ||
6 | + * | ||
7 | + * 1. Redistributions of source code must retain the above copyright notice, | ||
8 | + * this list of conditions and the following disclaimer. | ||
9 | + * | ||
10 | + * 2. Redistributions in binary form must reproduce the above copyright notice, | ||
11 | + * this list of conditions and the following disclaimer in the documentation | ||
12 | + * and/or other materials provided with the distribution. | ||
13 | + * | ||
14 | + * THIS SOFTWARE IS PROVIDED BY THE WARPLY LTD ``AS IS'' AND ANY EXPRESS OR | ||
15 | + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
16 | + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
17 | + * EVENT SHALL WARPLY LTD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
18 | + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
19 | + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
20 | + * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
21 | + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
22 | + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
23 | + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
24 | + */ | ||
25 | + | ||
26 | +package ly.warp.sdk.io.models; | ||
27 | + | ||
28 | + | ||
29 | +/** | ||
30 | + * Created by Panagiotis Triantafyllou on 25-Oct-23. | ||
31 | + */ | ||
32 | + | ||
33 | +public class VouchersServiceUnavailableEventModel { | ||
34 | + private boolean serviceUnavailable; | ||
35 | + | ||
36 | + public VouchersServiceUnavailableEventModel() { | ||
37 | + this.serviceUnavailable = true; | ||
38 | + } | ||
39 | + | ||
40 | + public boolean isServiceUnavailable() { | ||
41 | + return serviceUnavailable; | ||
42 | + } | ||
43 | + | ||
44 | + public void setServiceUnavailable(boolean serviceUnavailable) { | ||
45 | + this.serviceUnavailable = serviceUnavailable; | ||
46 | + } | ||
47 | +} |
... | @@ -33,7 +33,7 @@ public class WarpConstants { | ... | @@ -33,7 +33,7 @@ public class WarpConstants { |
33 | /** | 33 | /** |
34 | * The version of the SDK installed in the device | 34 | * The version of the SDK installed in the device |
35 | */ | 35 | */ |
36 | - public static final String SDK_VERSION = "4.5.4.6"; | 36 | + public static final String SDK_VERSION = "4.5.5.4"; |
37 | 37 | ||
38 | /** | 38 | /** |
39 | * The URL of the server where it should ping | 39 | * The URL of the server where it should ping | ... | ... |
... | @@ -18,6 +18,7 @@ import ly.warp.sdk.io.models.RefreshUnifiedCouponsEventModel; | ... | @@ -18,6 +18,7 @@ import ly.warp.sdk.io.models.RefreshUnifiedCouponsEventModel; |
18 | import ly.warp.sdk.io.models.UnifiedCouponsEventModel; | 18 | import ly.warp.sdk.io.models.UnifiedCouponsEventModel; |
19 | import ly.warp.sdk.io.models.VouchersActivityEventModel; | 19 | import ly.warp.sdk.io.models.VouchersActivityEventModel; |
20 | import ly.warp.sdk.io.models.VouchersFetchedEventModel; | 20 | import ly.warp.sdk.io.models.VouchersFetchedEventModel; |
21 | +import ly.warp.sdk.io.models.VouchersServiceUnavailableEventModel; | ||
21 | import ly.warp.sdk.io.models.WarplyCCMSEnabledModel; | 22 | import ly.warp.sdk.io.models.WarplyCCMSEnabledModel; |
22 | import ly.warp.sdk.io.models.WarplyCouponsChangedEventModel; | 23 | import ly.warp.sdk.io.models.WarplyCouponsChangedEventModel; |
23 | import ly.warp.sdk.io.models.WarplyDealsAnalysisEventModel; | 24 | import ly.warp.sdk.io.models.WarplyDealsAnalysisEventModel; |
... | @@ -61,6 +62,7 @@ public class WarplyEventBusManager { | ... | @@ -61,6 +62,7 @@ public class WarplyEventBusManager { |
61 | private WarplyWebviewCallbackEventModel webviewCallback; | 62 | private WarplyWebviewCallbackEventModel webviewCallback; |
62 | private WarplyWebviewActivityCallbackEventModel webviewActivityCallback; | 63 | private WarplyWebviewActivityCallbackEventModel webviewActivityCallback; |
63 | private WarplyUnifiedActivatedEventModel unifiedActivated; | 64 | private WarplyUnifiedActivatedEventModel unifiedActivated; |
65 | + private VouchersServiceUnavailableEventModel serviceUnavailable; | ||
64 | 66 | ||
65 | public WarplyEventBusManager() { | 67 | public WarplyEventBusManager() { |
66 | 68 | ||
... | @@ -158,6 +160,10 @@ public class WarplyEventBusManager { | ... | @@ -158,6 +160,10 @@ public class WarplyEventBusManager { |
158 | this.dealsAnalysis = dealsAnalysis; | 160 | this.dealsAnalysis = dealsAnalysis; |
159 | } | 161 | } |
160 | 162 | ||
163 | + public WarplyEventBusManager(VouchersServiceUnavailableEventModel serviceUnavailable) { | ||
164 | + this.serviceUnavailable = serviceUnavailable; | ||
165 | + } | ||
166 | + | ||
161 | public WarplyEventBusManager(WarplyCCMSEnabledModel ccmsActivated) { | 167 | public WarplyEventBusManager(WarplyCCMSEnabledModel ccmsActivated) { |
162 | this.ccmsActivated = ccmsActivated; | 168 | this.ccmsActivated = ccmsActivated; |
163 | } | 169 | } |
... | @@ -299,4 +305,8 @@ public class WarplyEventBusManager { | ... | @@ -299,4 +305,8 @@ public class WarplyEventBusManager { |
299 | public WarplyUnifiedActivatedEventModel getWarplyUnifiedActivatedEventModel() { | 305 | public WarplyUnifiedActivatedEventModel getWarplyUnifiedActivatedEventModel() { |
300 | return unifiedActivated; | 306 | return unifiedActivated; |
301 | } | 307 | } |
308 | + | ||
309 | + public VouchersServiceUnavailableEventModel getVouchersServiceUnavailableEventModel() { | ||
310 | + return serviceUnavailable; | ||
311 | + } | ||
302 | } | 312 | } | ... | ... |
... | @@ -205,7 +205,8 @@ | ... | @@ -205,7 +205,8 @@ |
205 | android:layout_width="match_parent" | 205 | android:layout_width="match_parent" |
206 | android:layout_height="wrap_content" | 206 | android:layout_height="wrap_content" |
207 | android:layout_below="@+id/rl_first_banner" | 207 | android:layout_below="@+id/rl_first_banner" |
208 | - android:layout_marginHorizontal="16dp"> | 208 | + android:layout_marginHorizontal="16dp" |
209 | + android:layout_marginTop="16dp"> | ||
209 | 210 | ||
210 | <RelativeLayout | 211 | <RelativeLayout |
211 | android:layout_width="wrap_content" | 212 | android:layout_width="wrap_content" |
... | @@ -259,7 +260,7 @@ | ... | @@ -259,7 +260,7 @@ |
259 | <LinearLayout | 260 | <LinearLayout |
260 | android:layout_width="match_parent" | 261 | android:layout_width="match_parent" |
261 | android:layout_height="match_parent" | 262 | android:layout_height="match_parent" |
262 | - android:background="@color/cos_green_tr" | 263 | + android:background="@color/cos_creme" |
263 | android:gravity="center" | 264 | android:gravity="center" |
264 | android:orientation="vertical"> | 265 | android:orientation="vertical"> |
265 | 266 | ||
... | @@ -285,7 +286,8 @@ | ... | @@ -285,7 +286,8 @@ |
285 | android:layout_width="match_parent" | 286 | android:layout_width="match_parent" |
286 | android:layout_height="wrap_content" | 287 | android:layout_height="wrap_content" |
287 | android:layout_below="@+id/rl_second_banner" | 288 | android:layout_below="@+id/rl_second_banner" |
288 | - android:layout_marginHorizontal="16dp"> | 289 | + android:layout_marginHorizontal="16dp" |
290 | + android:layout_marginTop="16dp"> | ||
289 | 291 | ||
290 | <RelativeLayout | 292 | <RelativeLayout |
291 | android:layout_width="wrap_content" | 293 | android:layout_width="wrap_content" |
... | @@ -339,7 +341,7 @@ | ... | @@ -339,7 +341,7 @@ |
339 | <LinearLayout | 341 | <LinearLayout |
340 | android:layout_width="match_parent" | 342 | android:layout_width="match_parent" |
341 | android:layout_height="match_parent" | 343 | android:layout_height="match_parent" |
342 | - android:background="@color/cos_green_tr" | 344 | + android:background="@color/cos_skyblue5" |
343 | android:gravity="center" | 345 | android:gravity="center" |
344 | android:orientation="vertical"> | 346 | android:orientation="vertical"> |
345 | 347 | ... | ... |
This diff is collapsed. Click to expand it.
... | @@ -75,8 +75,8 @@ | ... | @@ -75,8 +75,8 @@ |
75 | <string name="cos_gift_it">Δώρισέ το</string> | 75 | <string name="cos_gift_it">Δώρισέ το</string> |
76 | <string name="cos_popup_more_title">COSMOTE MORE FOR YOU</string> | 76 | <string name="cos_popup_more_title">COSMOTE MORE FOR YOU</string> |
77 | <string name="cos_popup_more_subtitle">Σε αυτή την ενότητα βρες έρευνες, παιχνίδια, διαγωνισμούς και επιβραβεύσεις για τις αθλητικές σου δραστηριότητες!</string> | 77 | <string name="cos_popup_more_subtitle">Σε αυτή την ενότητα βρες έρευνες, παιχνίδια, διαγωνισμούς και επιβραβεύσεις για τις αθλητικές σου δραστηριότητες!</string> |
78 | - <string name="cos_deals_win_title">Έχεις κερδίσει %1$s€ με το\nGIFTS FOR YOU!</string> | 78 | + <string name="cos_deals_win_title">Μέχρι τώρα έχεις όφελος %1$s€ από τα GIFTS FOR YOU</string> |
79 | - <string name="cos_deals_win_title_cos">Έχεις κερδίσει %1$s€ με το\nDEALS FOR YOU!</string> | 79 | + <string name="cos_deals_win_title_cos">Μέχρι τώρα έχεις όφελος %1$s€ από τα DEALS FOR YOU</string> |
80 | <string name="cos_mygifts">Τα δώρα μου</string> | 80 | <string name="cos_mygifts">Τα δώρα μου</string> |
81 | <string name="cos_gifts_banner_title">Δώρα:</string> | 81 | <string name="cos_gifts_banner_title">Δώρα:</string> |
82 | <string name="cos_see_more">Δες περισσότερα</string> | 82 | <string name="cos_see_more">Δες περισσότερα</string> |
... | @@ -174,7 +174,7 @@ | ... | @@ -174,7 +174,7 @@ |
174 | <string name="cos_coupon_date_limit">Ισχύει έως </string> | 174 | <string name="cos_coupon_date_limit">Ισχύει έως </string> |
175 | <string name="cos_coupon_date_limit2">%1$s</string> | 175 | <string name="cos_coupon_date_limit2">%1$s</string> |
176 | <string name="cos_for_you_all">Μέχρι τώρα έχεις κερδίσει %1$s€ στο For You!</string> | 176 | <string name="cos_for_you_all">Μέχρι τώρα έχεις κερδίσει %1$s€ στο For You!</string> |
177 | - <string name="cos_supermarket_win">Έχεις κερδίσει %1$s€ με τα\nSUPERMARKET DEALS!</string> | 177 | + <string name="cos_supermarket_win">Μέχρι τώρα έχεις όφελος %1$s€ από τα SUPERMARKET DEALS</string> |
178 | <string name="cos_supermarket_history">Μέχρι τώρα έχεις κερδίσει %1$s€ σε προσφορές από %2$s κουπόνια!</string> | 178 | <string name="cos_supermarket_history">Μέχρι τώρα έχεις κερδίσει %1$s€ σε προσφορές από %2$s κουπόνια!</string> |
179 | <string name="lbl_cosmote_webview_permission_title">COSMOTE</string> | 179 | <string name="lbl_cosmote_webview_permission_title">COSMOTE</string> |
180 | <string name="lbl_cosmote_webview_permission_message">Το COSMOTE ζητάει πρόσβαση στην τοποθεσία σας.</string> | 180 | <string name="lbl_cosmote_webview_permission_message">Το COSMOTE ζητάει πρόσβαση στην τοποθεσία σας.</string> |
... | @@ -205,6 +205,9 @@ | ... | @@ -205,6 +205,9 @@ |
205 | <string name="cos_loyalty_history">Ιστορικό</string> | 205 | <string name="cos_loyalty_history">Ιστορικό</string> |
206 | <string name="cos_redeemed_coupons_loyalty_title">Εξαργυρωμένα κουπόνια</string> | 206 | <string name="cos_redeemed_coupons_loyalty_title">Εξαργυρωμένα κουπόνια</string> |
207 | <string name="cos_history_info_text">Δες αναλυτικά το συνολικό όφελός σου έως τώρα από κουπόνια</string> | 207 | <string name="cos_history_info_text">Δες αναλυτικά το συνολικό όφελός σου έως τώρα από κουπόνια</string> |
208 | + <string name="cos_dlg_try_again">Προσπάθησε ξανά αργότερα</string> | ||
209 | + <string name="cos_dlg_service_unavailable">Προσωρινά μη διαθέσιμη πληροφορία.\nΠαρακαλούμε δοκίμασε ξανά σε λίγο.</string> | ||
210 | + <string name="cos_dlg_return">Επιστροφή</string> | ||
208 | 211 | ||
209 | <string-array name="coupons_array"> | 212 | <string-array name="coupons_array"> |
210 | <item>Κουπόνια</item> | 213 | <item>Κουπόνια</item> | ... | ... |
-
Please register or login to post a comment