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-05-24 17:44:51 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
530262a9d7f104fd909d6c9ee5cbef3bd62f7145
530262a9
1 parent
be7b6a7e
feedback fixes
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
warply_android_sdk/build.gradle
warply_android_sdk/src/main/java/ly/warp/sdk/fragments/MyRewardsFragment.java
warply_android_sdk/src/main/java/ly/warp/sdk/views/WarpView.java
warply_android_sdk/build.gradle
View file @
530262a
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
ext
{
PUBLISH_GROUP_ID
=
'ly.warp'
PUBLISH_VERSION
=
'4.5.5.4r2
6
'
PUBLISH_VERSION
=
'4.5.5.4r2
7
'
PUBLISH_ARTIFACT_ID
=
'warply-android-sdk'
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/fragments/MyRewardsFragment.java
View file @
530262a
...
...
@@ -167,6 +167,10 @@ public class MyRewardsFragment extends Fragment implements View.OnClickListener
mSecondEnd
.
setVisibility
(
View
.
GONE
);
}
});
if
(
WarpUtils
.
getUserNonTelco
(
getContext
()))
{
nonTelcoDialog
();
}
}
@Override
...
...
@@ -643,9 +647,9 @@ public class MyRewardsFragment extends Fragment implements View.OnClickListener
}
private
void
initViews
()
{
if
(
WarpUtils
.
getUserNonTelco
(
getContext
()))
{
nonTelcoDialog
();
}
//
if (WarpUtils.getUserNonTelco(getContext())) {
//
nonTelcoDialog();
//
}
/** Deals Badge */
if
(
WarplyManagerHelper
.
getActiveDFYCoupons
()
!=
null
&&
WarplyManagerHelper
.
getActiveDFYCoupons
().
size
()
>
0
)
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/views/WarpView.java
View file @
530262a
...
...
@@ -198,11 +198,6 @@ public class WarpView extends WebView implements DefaultLifecycleObserver {
setBackgroundColor
(
ContextCompat
.
getColor
(
getContext
(),
android
.
R
.
color
.
transparent
));
setWebViewClient
(
new
WarplyWebViewClient
());
setWebChromeClient
(
new
WarplyWebChromeClient
());
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
KITKAT
)
{
if
(
0
!=
(
getContext
().
getApplicationInfo
().
flags
&=
ApplicationInfo
.
FLAG_DEBUGGABLE
))
{
WebView
.
setWebContentsDebuggingEnabled
(
true
);
}
}
initCustomActionHandler
();
}
...
...
Please
register
or
login
to post a comment