React-native-webview: location.reload() not working in Android

Created on 28 May 2019  路  3Comments  路  Source: react-native-webview/react-native-webview


Bug description:
return location.reload() in javascript code not trigger / responding in Android webview. It works fine in react-native official webview. Am I missed out something?

To Reproduce:

Expected behavior:
It webview should reload itself.

Screenshots/Videos:

Environment:

  • OS: Android
  • OS version: 7
  • react-native version: 0.59.8
  • react-native-webview version: 5.10.0
Stale bug report

Most helpful comment

The issue still persists on Android. reload() works in iOS though.

All 3 comments

location.href = location.href 
// if has hash
location.href = location.pathname

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

The issue still persists on Android. reload() works in iOS though.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

celciusjj picture celciusjj  路  3Comments

dogeri28 picture dogeri28  路  3Comments

codesinghanoop picture codesinghanoop  路  3Comments

ranshine picture ranshine  路  3Comments

SimonErich picture SimonErich  路  3Comments