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-11-03 20:09:29 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a79041fab3e46f68b2eb25d4563c63d02fa0f990
a79041fa
1 parent
53bacb17
new keys
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
5 deletions
app/src/main/assets/warply.properties
app/src/main/java/warp/ly/android_sdk/activities/SplashActivity.java
warply_android_sdk/build.gradle
warply_android_sdk/src/main/java/ly/warp/sdk/utils/managers/WarplyAnalyticsManager.java
warply_android_sdk/src/main/java/ly/warp/sdk/views/adapters/ExpiredCouponAdapter.java
app/src/main/assets/warply.properties
View file @
a79041f
...
...
@@ -11,7 +11,7 @@ Debug=true
# Production or Development environment of the engage server
# Production: https://engage.warp.ly
# Development: https://engage-stage.warp.ly
BaseURL
=
https://engage
-stage
.warp.ly
BaseURL
=
https://engage.warp.ly
# For Verify Ticket request
VerifyURL
=
/partners/cosmote/verify
...
...
app/src/main/java/warp/ly/android_sdk/activities/SplashActivity.java
View file @
a79041f
...
...
@@ -36,7 +36,7 @@ public class SplashActivity extends BaseActivity {
public
void
onWarplyReady
()
{
if
(!
WarplyDBHelper
.
getInstance
(
SplashActivity
.
this
).
isTableNotEmpty
(
"auth"
))
{
WarplyManager
.
getCosmoteUser
(
new
WarplyCosmoteUserRequest
()
.
setGuid
(
"
600075706
0"
),
//6012049321, 6012049322, 6012049323, 7000000831 history, 7000000826, 7000000831 shared coupons, prod 6006552990
.
setGuid
(
"
300018491
0"
),
//6012049321, 6012049322, 6012049323, 7000000831 history, 7000000826, 7000000831 shared coupons, prod 6006552990
mLoginReceiver
);
}
else
{
startNextActivity
();
...
...
warply_android_sdk/build.gradle
View file @
a79041f
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
ext
{
PUBLISH_GROUP_ID
=
'ly.warp'
PUBLISH_VERSION
=
'4.5.4.6rc
3
'
PUBLISH_VERSION
=
'4.5.4.6rc
4
'
PUBLISH_ARTIFACT_ID
=
'warply-android-sdk'
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/utils/managers/WarplyAnalyticsManager.java
View file @
a79041f
...
...
@@ -58,8 +58,10 @@ public class WarplyAnalyticsManager {
}
public
static
void
logTrackersEvent
(
Context
context
,
String
eventType
,
String
eventName
)
{
if
(
WarpUtils
.
getTrackersEnabled
(
context
))
if
(
WarpUtils
.
getTrackersEnabled
(
context
))
{
Warply
.
getInitializer
(
context
).
init
();
sendEvent
(
null
,
eventType
.
concat
(
":"
).
concat
(
eventName
),
null
,
false
);
}
}
/**
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/views/adapters/ExpiredCouponAdapter.java
View file @
a79041f
...
...
@@ -117,7 +117,7 @@ public class ExpiredCouponAdapter extends RecyclerView.Adapter<ExpiredCouponAdap
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy-MM-dd hh:mm"
);
Date
newDate
=
new
Date
();
try
{
newDate
=
simpleDateFormat
.
parse
(
couponItem
.
getC
reated
(
));
newDate
=
simpleDateFormat
.
parse
(
couponItem
.
getC
hangesDates
().
optString
(
"redeemed"
));
}
catch
(
ParseException
e
)
{
e
.
printStackTrace
();
}
...
...
Please
register
or
login
to post a comment