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-21 11:53:29 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b5687661e439cf2ef20df8ba252bf9cca68b1209
b5687661
1 parent
abf6eabf
minor fixes
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
warply_android_sdk/build.gradle
warply_android_sdk/src/main/java/ly/warp/sdk/activities/WarpViewActivity.java
warply_android_sdk/src/main/java/ly/warp/sdk/views/WarpView.java
warply_android_sdk/build.gradle
View file @
b568766
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
ext
{
PUBLISH_GROUP_ID
=
'ly.warp'
PUBLISH_VERSION
=
'4.5.4-cosbeta1
2
'
PUBLISH_VERSION
=
'4.5.4-cosbeta1
3
'
PUBLISH_ARTIFACT_ID
=
'warply-android-sdk'
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/activities/WarpViewActivity.java
View file @
b568766
...
...
@@ -153,6 +153,10 @@ public class WarpViewActivity extends WarpBaseActivity {
RelativeLayout
.
LayoutParams
warpViewParams
=
new
RelativeLayout
.
LayoutParams
(
RelativeLayout
.
LayoutParams
.
MATCH_PARENT
,
RelativeLayout
.
LayoutParams
.
MATCH_PARENT
);
// warpViewParams.addRule(
// RelativeLayout.SYSTEM_UI_FLAG_LAYOUT_STABLE
// | RelativeLayout.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
// | RelativeLayout.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
root
.
addView
(
mWarpView
,
warpViewParams
);
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/views/WarpView.java
View file @
b568766
...
...
@@ -128,7 +128,7 @@ public class WarpView extends WebView {
settings
.
setDomStorageEnabled
(
true
);
settings
.
setGeolocationDatabasePath
(
getContext
().
getCacheDir
().
getAbsolutePath
());
settings
.
setGeolocationEnabled
(
true
);
settings
.
setBuiltInZoomControls
(
tru
e
);
settings
.
setBuiltInZoomControls
(
fals
e
);
WarpView
.
this
.
addJavascriptInterface
(
new
JSInterface
(),
"Cosmote"
);
setBackgroundColor
(
ContextCompat
.
getColor
(
getContext
(),
android
.
R
.
color
.
transparent
));
setWebViewClient
(
new
WarplyWebViewClient
());
...
...
Please
register
or
login
to post a comment