GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Release v8.0.0 · react-native-webview/react-native-webview

v8.0.0

@react-native-community-bot react-native-community-bot released this 16 Dec 16:55
· 561 commits to master since this release
v8.0.0
ce565f4

8.0.0 (2019-12-16)

Features

  • ios: Generate history API events on iOS (#1082) (3615296)

BREAKING CHANGES

  • ios: if you use onNavigationStateChange on iOS it will now trigger on # changes to the url.

  • Hook the window.history API on iOS to generate events

The underlying WKWebView doesn't seem to generate any events in response to the window.history API - none of the WKNavigationDelegate methods fire.

Given this limitation, the only way to know when the location changes via this API is to inject Javascript into the page and have it notify the native code directly when any of these functions are called.

The setTimeout call gives up the current tick, allowing the location to change before firing the event.

  • Remove the outdated section about hash changes

Now that this bug is fixed, the workaround is no longer required.

Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.