React-native-webview: injectedJavaScript intercept url buggy on latest IOS version

Created on 20 Mar 2020  ·  3Comments  ·  Source: react-native-webview/react-native-webview

The code I have for injectedJavaScript is trying to intercept some URL. It working perfectly on any version below ios OS version 12. Any version = or above ios OS version 12 wouldn't do the job.
I have two urls request need to intercept. On OS blow 12, both of them could be able to intercept. However, on the version - or above IOS version 12, only first url request would be able to intercept. The second one becomes unable to intercept. Anyone help, please.

Environment:

  • IOS emulator version: 13.3
  • react-native version: 0.61.4"
  • react-native-webview version: 9.0.1
Stale bug report

Most helpful comment

Same problem.

All 3 comments

Same problem.

Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like _still searching for solutions_ and if you found one, please open a pull request! You have 7 days until this gets closed automatically

我也有相同的问题,android设备上有数据,iOS设备上没有检测到数据传递到webview网页上。

Was this page helpful?
0 / 5 - 0 ratings