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-02-23 17:28:08 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
281b4235282deffee5957c5f4182461b7ea2a322
281b4235
1 parent
0db47f7b
minor fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/views/WarpView.java
warply_android_sdk/src/main/java/ly/warp/sdk/views/WarpView.java
View file @
281b423
...
...
@@ -420,7 +420,7 @@ public class WarpView extends WebView implements DefaultLifecycleObserver {
EventBus
.
getDefault
().
register
(
this
);
if
(
mWebviewLoaded
)
{
String
scriptSourceInit
=
"webviewDidFocus(
true
);"
;
String
scriptSourceInit
=
"webviewDidFocus(
"
+
String
.
valueOf
(
mWebviewLoaded
)
+
"
);"
;
WarpView
.
this
.
evaluateJavascript
(
scriptSourceInit
,
s
->
{
});
...
...
@@ -781,7 +781,7 @@ public class WarpView extends WebView implements DefaultLifecycleObserver {
@Override
public
void
onPageFinished
(
WebView
view
,
String
url
)
{
mWebviewLoaded
=
true
;
String
scriptSourceInit
=
"webviewDidFocus(
true
);"
;
String
scriptSourceInit
=
"webviewDidFocus(
"
+
String
.
valueOf
(
mWebviewLoaded
)
+
"
);"
;
view
.
evaluateJavascript
(
scriptSourceInit
,
s
->
{
});
...
...
Please
register
or
login
to post a comment