Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_android_sdk_maven_plugin
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Panagiotis Triantafyllou
2024-03-21 14:16:13 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
696510875a07bdcdbc3f6edc54e3bc02474f01d6
69651087
1 parent
d4a9530f
feedback fixes
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
warply_android_sdk/build.gradle
warply_android_sdk/src/main/java/ly/warp/sdk/activities/CouponsetInfoActivity.java
warply_android_sdk/src/main/res/values/strings.xml
warply_android_sdk/build.gradle
View file @
6965108
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
ext
{
PUBLISH_GROUP_ID
=
'ly.warp'
PUBLISH_VERSION
=
'4.5.5.4r1
3
'
PUBLISH_VERSION
=
'4.5.5.4r1
4
'
PUBLISH_ARTIFACT_ID
=
'warply-android-sdk'
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/activities/CouponsetInfoActivity.java
View file @
6965108
...
...
@@ -33,6 +33,7 @@ import ly.warp.sdk.io.models.CouponList;
import
ly.warp.sdk.io.models.Couponset
;
import
ly.warp.sdk.io.models.LoyaltyContextualOfferModel
;
import
ly.warp.sdk.io.models.LoyaltySDKFirebaseEventModel
;
import
ly.warp.sdk.io.models.OpenMyRewardsEventModel
;
import
ly.warp.sdk.io.models.WarplyCCMSEnabledModel
;
import
ly.warp.sdk.io.models.WarplyCouponsChangedEventModel
;
import
ly.warp.sdk.io.request.WarplyGetCampaignsRequest
;
...
...
@@ -268,11 +269,20 @@ public class CouponsetInfoActivity extends Activity implements View.OnClickListe
mAlertDialogCouponset
=
new
AlertDialog
.
Builder
(
this
)
.
setTitle
(
R
.
string
.
cos_dlg_success_couponset_title
)
.
setMessage
(
R
.
string
.
cos_dlg_success_couponset_subtitle
)
.
setPositiveButton
(
R
.
string
.
cos_dlg_positive_button
2
,
(
dialogPositive
,
whichPositive
)
->
{
.
setPositiveButton
(
R
.
string
.
cos_dlg_positive_button
4
,
(
dialogPositive
,
whichPositive
)
->
{
dialogPositive
.
dismiss
();
if
(
success
)
{
// setResult(RESULT_OK, new Intent());
onBackPressed
();
OpenMyRewardsEventModel
openMyRewards
=
new
OpenMyRewardsEventModel
();
openMyRewards
.
setOpen
(
true
);
EventBus
.
getDefault
().
post
(
new
WarplyEventBusManager
(
openMyRewards
));
}
})
.
setNegativeButton
(
R
.
string
.
cos_dlg_negative_button5
,
(
dialogNegative
,
whichNegative
)
->
{
dialogNegative
.
dismiss
();
if
(
success
)
{
onBackPressed
();
}
})
.
setCancelable
(
false
)
...
...
warply_android_sdk/src/main/res/values/strings.xml
View file @
6965108
...
...
@@ -91,11 +91,13 @@
<string
name=
"cos_dlg_positive_button"
>
Ενεργοποίηση
</string>
<string
name=
"cos_dlg_negative_button"
>
Απόρριψη
</string>
<string
name=
"cos_dlg_positive_button2"
>
ΟΚ
</string>
<string
name=
"cos_dlg_positive_button4"
>
Δες το κουπόνι
</string>
<string
name=
"cos_dlg_positive_button_text"
>
Το δώρο σου ενεργοποιήθηκε επιτυχώς στο My Rewards!
</string>
<string
name=
"cos_dlg_positive_button_text2"
>
Το δώρο σου ενεργοποιήθηκε επιτυχώς στο καλάθι του SUPERMARKET DEALS!
</string>
<string
name=
"cos_dlg_reject_text"
>
Το δώρο θα επιστραφεί και δεν θα μπορεί να ενεργοποιηθεί ξανά.
</string>
<string
name=
"cos_dlg_return_text"
>
Έλαβες πίσω το δώρο σου, κουπόνι αξίας 100€ για τα Intersport
</string>
<string
name=
"cos_dlg_negative_button2"
>
Άκυρο
</string>
<string
name=
"cos_dlg_negative_button5"
>
Ακύρωση
</string>
<string
name=
"cos_profile_preferences"
>
Πρόσθεσε τις προτιμήσεις σου
</string>
<string
name=
"cos_profile_history"
>
Δες το ιστορικό σου
</string>
<string
name=
"cos_shops"
>
Δες τα καταστήματα
</string>
...
...
Please
register
or
login
to post a comment