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
2022-10-27 12:19:03 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
eb3fa5b4cd1f35faccf4215e622bd4d4a5813342
eb3fa5b4
1 parent
8eb0b964
new keys
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
warply_android_sdk/build.gradle
warply_android_sdk/src/main/java/ly/warp/sdk/activities/ShopsActivity.java
warply_android_sdk/src/main/java/ly/warp/sdk/utils/WarplyManagerHelper.java
warply_android_sdk/src/main/res/values/strings.xml
warply_android_sdk/build.gradle
View file @
eb3fa5b
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
ext
{
PUBLISH_GROUP_ID
=
'ly.warp'
PUBLISH_VERSION
=
'4.5.4
-cosbeta100
'
PUBLISH_VERSION
=
'4.5.4
.6rc1
'
PUBLISH_ARTIFACT_ID
=
'warply-android-sdk'
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/activities/ShopsActivity.java
View file @
eb3fa5b
...
...
@@ -268,6 +268,7 @@ public class ShopsActivity extends FragmentActivity implements View.OnClickListe
mAlertDialogNoShopsAvailable
=
new
AlertDialog
.
Builder
(
this
)
.
setTitle
(
R
.
string
.
cos_dlg_no_shops_title
)
.
setMessage
(
R
.
string
.
cos_dlg_no_shops
)
.
setCancelable
(
false
)
.
setPositiveButton
(
R
.
string
.
cos_dlg_no_shops_positive
,
(
dialogPositive
,
whichPositive
)
->
{
dialogPositive
.
dismiss
();
openWebsite
();
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/utils/WarplyManagerHelper.java
View file @
eb3fa5b
...
...
@@ -1240,7 +1240,7 @@ public class WarplyManagerHelper {
mDealsSum
=
sum
;
}
public
static
boolean
checkForLoyaltySDKNotification
(
Map
<
String
,
String
>
pushPayload
)
{
public
static
boolean
checkForLoyaltySDKNotification
(
Context
context
,
Map
<
String
,
String
>
pushPayload
)
{
Bundle
data
=
convertToBundle
(
pushPayload
);
if
(
data
==
null
||
!
data
.
containsKey
(
"loyalty-action"
))
return
false
;
...
...
@@ -1248,9 +1248,9 @@ public class WarplyManagerHelper {
WarpUtils
.
log
(
"Received push with action: "
+
pc
.
getAction
());
if
(
pc
.
getAction
()
==
0
&&
!
pc
.
hasActions
())
FCMBaseMessagingService
.
showCampaignNotification
(
Warply
.
getWarplyContext
()
,
pc
);
FCMBaseMessagingService
.
showCampaignNotification
(
context
,
pc
);
else
showDefaultNotification
(
Warply
.
getWarplyContext
()
,
data
);
showDefaultNotification
(
context
,
data
);
return
true
;
}
...
...
warply_android_sdk/src/main/res/values/strings.xml
View file @
eb3fa5b
...
...
@@ -143,7 +143,7 @@
<string
name=
"cos_comma"
>
,
</string>
<string
name=
"cos_dlg_non_telco_title"
>
Αδυναμία ενεργοποίησης
</string>
<string
name=
"cos_share_no_assets"
>
Για την αποστολή του δώρου σου χρειάζεται να έχεις κινητό COSMOTE.
</string>
<string
name=
"cos_dlg_coupon_depleted_title"
>
H προσφορά δεν είναι πλέον διαθέσιμη
</string>
<string
name=
"cos_dlg_coupon_depleted_title"
>
Το κουπόνι εξαντλήθηκε
</string>
<string
name=
"cos_dlg_coupon_depleted_message"
>
Μείνε συντονισμένος για νέες προσφορές και κουπόνια.
</string>
<string
name=
"cos_dlg_no_shops"
>
Ο συνεργάτης διαθέτει μόνο ηλεκτρονικό κατάστημα για ηλεκτρονικές παραγγελίες.
</string>
<string
name=
"cos_dlg_no_shops_title"
>
Καταστήματα συνεργάτη
</string>
...
...
Please
register
or
login
to post a comment