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-06-16 18:07:06 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
91cc0449a419839ba108b79bbcb3d54962b7997c
91cc0449
1 parent
09ff79b4
new version
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
2 deletions
app/src/main/assets/warply.properties
warply_android_sdk/build.gradle
warply_android_sdk/src/main/java/ly/warp/sdk/Warply.java
warply_android_sdk/src/main/java/ly/warp/sdk/utils/WarplyProperty.java
warply_android_sdk/src/main/java/ly/warp/sdk/utils/managers/WarplyEventBusManager.java
app/src/main/assets/warply.properties
View file @
91cc044
...
...
@@ -12,6 +12,9 @@ Debug=true
# Development: https://engage-stage.warp.ly
BaseURL
=
https://engage-stage.warp.ly
# For Verify Ticket request
VerifyURL
=
/partners/gapp/verify
#WebActionHandler=app_package_name.WarplyWebActionHandler
# Replace the color with one you want the progress bar to have depending on you app theme-coloring
...
...
warply_android_sdk/build.gradle
View file @
91cc044
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
ext
{
PUBLISH_GROUP_ID
=
'ly.warp'
PUBLISH_VERSION
=
'4.5.4-cosbeta1
1
'
PUBLISH_VERSION
=
'4.5.4-cosbeta1
2
'
PUBLISH_ARTIFACT_ID
=
'warply-android-sdk'
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/Warply.java
View file @
91cc044
...
...
@@ -1486,7 +1486,7 @@ public enum Warply {
if
(
warplyPath
.
equals
(
"handle_image"
))
sb
=
new
StringBuilder
(
WarplyProperty
.
getBaseUrl
(
mContext
.
get
())
+
WarpConstants
.
BASE_URL_API
);
else
if
(
warplyPath
.
equals
(
"verify"
))
sb
=
new
StringBuilder
(
WarplyProperty
.
getBaseUrl
(
mContext
.
get
())
+
Warp
Constants
.
BASE_URL_VERIFY
);
sb
=
new
StringBuilder
(
WarplyProperty
.
getBaseUrl
(
mContext
.
get
())
+
Warp
lyProperty
.
getVerifyUrl
(
mContext
.
get
())
);
else
sb
=
new
StringBuilder
(
WarplyProperty
.
getBaseUrl
(
mContext
.
get
())
+
WarpConstants
.
BASE_URL_AUTH
);
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/utils/WarplyProperty.java
View file @
91cc044
...
...
@@ -49,6 +49,7 @@ public class WarplyProperty {
public
static
final
String
KEY_LOGIN_TYPE
=
"LoginType"
;
public
static
final
String
KEY_DL_URL_SCHEME
=
"DL_URL_SCHEME"
;
public
static
final
String
KEY_BASE_URL
=
"BaseURL"
;
public
static
final
String
KEY_VERIFY_URL
=
"VerifyURL"
;
// ===========================================================
// Methods
...
...
@@ -199,6 +200,10 @@ public class WarplyProperty {
return
getWarplyProperty
(
context
,
KEY_BASE_URL
);
}
public
static
String
getVerifyUrl
(
Context
context
)
{
return
getWarplyProperty
(
context
,
KEY_VERIFY_URL
);
}
public
static
boolean
isSendPackages
(
Context
context
)
{
return
Boolean
.
parseBoolean
(
getWarplyProperty
(
context
,
KEY_SEND_PACKAGES
));
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/utils/managers/WarplyEventBusManager.java
View file @
91cc044
...
...
@@ -81,4 +81,40 @@ public class WarplyEventBusManager {
public
HashMap
<
String
,
Object
>
subscribeWarplyEventBus
()
{
return
mWarplyEventBusManager
;
}
public
String
getEventName
()
{
return
eventName
;
}
public
LoyaltySDKFirebaseEventModel
getFireEvent
()
{
return
fireEvent
;
}
public
LoyaltyContextualOfferModel
getCcms
()
{
return
ccms
;
}
public
HashMap
<
String
,
Object
>
getmWarplyEventBusManager
()
{
return
mWarplyEventBusManager
;
}
public
WarplyPacingCardEventModel
getPacingCard
()
{
return
pacingCard
;
}
public
WarplyPacingCardServiceEnabledModel
getPacingService
()
{
return
pacingService
;
}
public
WarplyDealsAnalysisEventModel
getDealsAnalysis
()
{
return
dealsAnalysis
;
}
public
WarplyCCMSEnabledModel
getCcmsActivated
()
{
return
ccmsActivated
;
}
public
LoyaltyGiftsForYouOfferClickEvent
getGiftsYou
()
{
return
giftsYou
;
}
}
...
...
Please
register
or
login
to post a comment