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-18 17:05:34 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6efb7fddd5a9480722b3acb995f2790e290051df
6efb7fdd
1 parent
fdcae078
new keys
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
warply_android_sdk/build.gradle
warply_android_sdk/src/main/java/ly/warp/sdk/views/WarpView.java
warply_android_sdk/build.gradle
View file @
6efb7fd
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
ext
{
PUBLISH_GROUP_ID
=
'ly.warp'
PUBLISH_VERSION
=
'4.5.4-cosbeta9
4
'
PUBLISH_VERSION
=
'4.5.4-cosbeta9
5
'
PUBLISH_ARTIFACT_ID
=
'warply-android-sdk'
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/views/WarpView.java
View file @
6efb7fd
...
...
@@ -66,6 +66,7 @@ import java.util.concurrent.TimeUnit;
import
ly.warp.sdk.Warply
;
import
ly.warp.sdk.activities.WarpViewActivity
;
import
ly.warp.sdk.db.WarplyDBHelper
;
import
ly.warp.sdk.io.models.CouponEventModel
;
import
ly.warp.sdk.io.models.LoyaltySDKFirebaseEventModel
;
import
ly.warp.sdk.io.models.QuestionnaireEventModel
;
...
...
@@ -504,6 +505,17 @@ public class WarpView extends WebView {
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
else
if
(
parts
[
1
].
equals
(
"refreshToken"
))
{
try
{
if
(
Warply
.
getWarplyContext
()
!=
null
)
{
WarplyDBHelper
.
getInstance
(
Warply
.
getWarplyContext
()).
saveAuthAccess
(
parts
[
2
],
parts
[
3
]
);
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
}
}
...
...
Please
register
or
login
to post a comment