From 6c14a18b7083fc3292f796408e2defdad2728b10 Mon Sep 17 00:00:00 2001 From: Rider21 <58046032+Rider21@users.noreply.github.com> Date: Tue, 5 Mar 2024 14:54:27 +0300 Subject: [PATCH] test --- .github/workflows/build.yml | 2 +- .github/workflows/lint.yml | 4 ++-- src/screens/WebviewScreen/WebviewScreen.tsx | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8d5eff9a6..23f7cdedc3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: Build on: push: branches: - - db + - db-test jobs: build-android: name: Build App diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5dea896c2d..9e0108231b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,10 +2,10 @@ name: Lint on: push: branches: - - db + - db-test pull_request: branches: - - db + - db-test jobs: build: diff --git a/src/screens/WebviewScreen/WebviewScreen.tsx b/src/screens/WebviewScreen/WebviewScreen.tsx index 542d859e83..10f894611e 100644 --- a/src/screens/WebviewScreen/WebviewScreen.tsx +++ b/src/screens/WebviewScreen/WebviewScreen.tsx @@ -100,6 +100,11 @@ const WebviewScreen = ({ route, navigation }: WebviewScreenProps) => { onNavigationStateChange={handleNavigation} injectedJavaScript={injectJavaScriptCode} setDisplayZoomControls={true} + setSupportMultipleWindows={false} + onShouldStartLoadWithRequest={request => { + console.log(request); + return true; + }} onMessage={({ nativeEvent }) => setTempData(JSON.parse(nativeEvent.data)) }