Skip to content

Tags: thepday12/react-native-webview

Tags

v8.0.3

Toggle v8.0.3's commit message
chore(release): 8.0.3 [skip ci]

## [8.0.3](react-native-webview/react-native-webview@v8.0.2...v8.0.3) (2020-01-08)

### Bug Fixes

* **whitelisted origins:** Prevent handling of un-whitelisted URLs ([0442126](react-native-webview@0442126))

v8.0.2

Toggle v8.0.2's commit message
chore(release): 8.0.2 [skip ci]

## [8.0.2](react-native-webview/react-native-webview@v8.0.1...v8.0.2) (2019-12-27)

### Bug Fixes

* **iOS:** WKWebView RetainCycle ([react-native-webview#1096](react-native-webview#1096)) ([4f4644f](react-native-webview@4f4644f))

v8.0.1

Toggle v8.0.1's commit message
chore(release): 8.0.1 [skip ci]

## [8.0.1](react-native-webview/react-native-webview@v8.0.0...v8.0.1) (2019-12-17)

### Bug Fixes

* **iOS:** Ignore WebKitDomainError 101 ([react-native-webview#961](react-native-webview#961)) ([adb5608](react-native-webview@adb5608))

v8.0.0

Toggle v8.0.0's commit message
chore(release): 8.0.0 [skip ci]

# [8.0.0](react-native-webview/react-native-webview@v7.6.0...v8.0.0) (2019-12-16)

### Features

* **ios:** Generate history API events on iOS ([react-native-webview#1082](react-native-webview#1082)) ([3615296](react-native-webview@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.

v7.6.0

Toggle v7.6.0's commit message
chore(release): 7.6.0 [skip ci]

# [7.6.0](react-native-webview/react-native-webview@v7.5.2...v7.6.0) (2019-12-06)

### Bug Fixes

* **ios:** Make allowFileAccessFromFileURLs work in iOS. ([react-native-webview#1061](react-native-webview#1061)) ([88b6498](react-native-webview@88b6498))

### Features

* **iOS:** new prop injectedJavaScriptBeforeContentLoaded ([react-native-webview#1038](react-native-webview#1038)) ([604495e](react-native-webview@604495e))

v7.5.2

Toggle v7.5.2's commit message
chore(release): 7.5.2 [skip ci]

## [7.5.2](react-native-webview/react-native-webview@v7.5.1...v7.5.2) (2019-11-26)

### Bug Fixes

* **android:** Added fallback poster image to prevent crashes ([react-native-webview#1036](react-native-webview#1036)) ([d8acd90](react-native-webview@d8acd90))
* **build:** Android build errors when using Gradle 6.0 ([react-native-webview#1037](react-native-webview#1037)) ([5b0c634](react-native-webview@5b0c634))

v7.5.1

Toggle v7.5.1's commit message
chore(release): 7.5.1 [skip ci]

## [7.5.1](react-native-webview/react-native-webview@v7.5.0...v7.5.1) (2019-11-13)

### Bug Fixes

* **android:** Fix ClassCastException when doing native things([react-native-webview#987](react-native-webview#987)) ([7e68da4](react-native-webview@7e68da4))

v7.5.0

Toggle v7.5.0's commit message
chore(release): 7.5.0 [skip ci]

# [7.5.0](react-native-webview/react-native-webview@v7.4.4...v7.5.0) (2019-11-12)

### Features

* **android:** add clearHistory, clearCache and clearFormData ([react-native-webview#450](react-native-webview#450)) ([4a4f4a2](react-native-webview@4a4f4a2))

v7.4.4

Toggle v7.4.4's commit message
chore(release): 7.4.4 [skip ci]

## [7.4.4](react-native-webview/react-native-webview@v7.4.3...v7.4.4) (2019-11-12)

### Bug Fixes

* **android:** crash problem while loading local html resource ([react-native-webview#1010](react-native-webview#1010)) ([05c286f](react-native-webview@05c286f))

v7.4.3

Toggle v7.4.3's commit message
chore(release): 7.4.3 [skip ci]

## [7.4.3](react-native-webview/react-native-webview@v7.4.2...v7.4.3) (2019-10-22)

### Bug Fixes

* **android:** possible NullPointerException ([react-native-webview#965](react-native-webview#965)) ([fab77dc](react-native-webview@fab77dc))