Commit Graph

213 Commits

Author SHA1 Message Date
semantic-release-bot 4d8a76f369 chore(release): 10.9.2 [skip ci]
## [10.9.2](https://github.com/react-native-community/react-native-webview/compare/v10.9.1...v10.9.2) (2020-10-05)

### Bug Fixes

* **macOS:** Don't include iOS pull-to-refresh control ([#1636](https://github.com/react-native-community/react-native-webview/issues/1636)) ([dbf4659](dbf46593fa))
* **podspec:** Lowered deployment target for MacOS to 10.13 ([#1673](https://github.com/react-native-community/react-native-webview/issues/1673)) ([f204195](f2041955a2))
2020-10-05 15:20:28 +00:00
semantic-release-bot 2d24131910 chore(release): 10.9.1 [skip ci]
## [10.9.1](https://github.com/react-native-community/react-native-webview/compare/v10.9.0...v10.9.1) (2020-09-29)

### Bug Fixes

* **ios:** Xcode 12 compatibility ([#1643](https://github.com/react-native-community/react-native-webview/issues/1643)) ([08b7099](08b709967f))
2020-09-29 17:23:14 +00:00
semantic-release-bot a482a74108 chore(release): 10.9.0 [skip ci]
# [10.9.0](https://github.com/react-native-community/react-native-webview/compare/v10.8.3...v10.9.0) (2020-09-15)

### Features

* **iOS:** Add prop autoManageStatusBarEnabled ([#914](https://github.com/react-native-community/react-native-webview/issues/914)) ([22a60fd](22a60fd23a))
2020-09-15 00:45:42 +00:00
semantic-release-bot 4840eeb588 chore(release): 10.8.3 [skip ci]
## [10.8.3](https://github.com/react-native-community/react-native-webview/compare/v10.8.2...v10.8.3) (2020-08-31)

### Bug Fixes

* **types:** Update Typescript definition file ([#1597](https://github.com/react-native-community/react-native-webview/issues/1597)) ([9dcd108](9dcd108b1f))
2020-08-31 13:23:56 +00:00
semantic-release-bot 3a6d966e50 chore(release): 10.8.2 [skip ci]
## [10.8.2](https://github.com/react-native-community/react-native-webview/compare/v10.8.1...v10.8.2) (2020-08-25)

### Bug Fixes

* **deps:** Update package.json ([#1583](https://github.com/react-native-community/react-native-webview/issues/1583)) ([8dd9969](8dd9969288))
2020-08-25 23:30:28 +00:00
Jason Safaiyeh 8dd9969288
fix(deps): Update package.json (#1583)
* Update package.json

* Remove react version from peerDependencies

* Update package.json

Co-authored-by: Thibault Malbranche <thibault.malbranche@epitech.eu>
2020-08-26 01:26:13 +02:00
semantic-release-bot c2395bfec2 chore(release): 10.8.1 [skip ci]
## [10.8.1](https://github.com/react-native-community/react-native-webview/compare/v10.8.0...v10.8.1) (2020-08-25)

### Bug Fixes

* **iOS:** changed the way the top view controller is obtained. ([#1592](https://github.com/react-native-community/react-native-webview/issues/1592)) ([2cb2113](2cb2113c29))
* **ts:** Convert ContentInsetAdjustmentBehavior from an enum back to a string union type ([#1536](https://github.com/react-native-community/react-native-webview/issues/1536)) ([a48c981](a48c9819c5))
2020-08-25 23:20:58 +00:00
semantic-release-bot 6598325940 chore(release): 10.8.0 [skip ci]
# [10.8.0](https://github.com/react-native-community/react-native-webview/compare/v10.7.0...v10.8.0) (2020-08-24)

### Features

* **android:** Add androidLayerType as prop ([#1588](https://github.com/react-native-community/react-native-webview/issues/1588)) ([9ffca8f](9ffca8f9db))
2020-08-24 12:29:54 +00:00
semantic-release-bot 2a95296ddd chore(release): 10.7.0 [skip ci]
# [10.7.0](https://github.com/react-native-community/react-native-webview/compare/v10.6.0...v10.7.0) (2020-08-17)

### Features

* **iOS:** Add the pull to refresh ([#1265](https://github.com/react-native-community/react-native-webview/issues/1265)) ([a02d88f](a02d88f54f))
2020-08-17 10:12:57 +00:00
semantic-release-bot 2451c00f26 chore(release): 10.6.0 [skip ci]
# [10.6.0](https://github.com/react-native-community/react-native-webview/compare/v10.5.0...v10.6.0) (2020-08-15)

### Features

* **events:** Add isTopFrame to shouldStartLoadForRequest ([#1537](https://github.com/react-native-community/react-native-webview/issues/1537)) ([6a9116f](6a9116f2d1))
2020-08-15 09:24:55 +00:00
semantic-release-bot 462448900a chore(release): 10.5.0 [skip ci]
# [10.5.0](https://github.com/react-native-community/react-native-webview/compare/v10.4.2...v10.5.0) (2020-08-15)

### Features

* **ios:** Add iOS contentMode property ([#1538](https://github.com/react-native-community/react-native-webview/issues/1538) by @TheAlmightyBob) ([8b69452](8b69452643))
2020-08-15 03:22:47 +00:00
semantic-release-bot 22038cc0d3 chore(release): 10.4.2 [skip ci]
## [10.4.2](https://github.com/react-native-community/react-native-webview/compare/v10.4.1...v10.4.2) (2020-08-15)

### Bug Fixes

* **incognito:** Ensures that incognito doesn't clear cookies when not enabled ([#1447](https://github.com/react-native-community/react-native-webview/issues/1447) by [@jasonkellydk](https://github.com/jasonkellydk)) ([63c584c](63c584c647))
2020-08-15 03:11:05 +00:00
semantic-release-bot 5baacdb45c chore(release): 10.4.1 [skip ci]
## [10.4.1](https://github.com/react-native-community/react-native-webview/compare/v10.4.0...v10.4.1) (2020-08-13)

### Bug Fixes

* **iOS:** file picker crash ([#1567](https://github.com/react-native-community/react-native-webview/issues/1567)) ([05c1d8f](05c1d8f264))
2020-08-13 07:41:18 +00:00
semantic-release-bot 096002e12f chore(release): 10.4.0 [skip ci]
# [10.4.0](https://github.com/react-native-community/react-native-webview/compare/v10.3.3...v10.4.0) (2020-08-06)

### Features

* **android:** WebView crash handling ([#1480](https://github.com/react-native-community/react-native-webview/issues/1480)) ([8a8b7ce](8a8b7ceb98))
2020-08-06 20:28:36 +00:00
semantic-release-bot 8081443c53 chore(release): 10.3.3 [skip ci]
## [10.3.3](https://github.com/react-native-community/react-native-webview/compare/v10.3.2...v10.3.3) (2020-07-29)

### Bug Fixes

* **types:** Add missing applicationNameForUserAgent type in WebViewSharedProps ([#1542](https://github.com/react-native-community/react-native-webview/issues/1542)) ([91295e5](91295e5258))
2020-07-29 15:04:24 +00:00
semantic-release-bot 6f6e572efa chore(release): 10.3.2 [skip ci]
## [10.3.2](https://github.com/react-native-community/react-native-webview/compare/v10.3.1...v10.3.2) (2020-06-26)

### Bug Fixes

* **android sdk 28:** build issue ([#1469](https://github.com/react-native-community/react-native-webview/issues/1469)) ([5f823bb](5f823bb77b))
2020-06-26 14:09:06 +00:00
trcoffman b0ac0c15be
chore(windows): Add a .gitattributes to fix line endings across myriad files. (#1431 by @trcoffman)
[skip ci]
2020-06-16 11:53:22 -07:00
semantic-release-bot dce30be136 chore(release): 10.3.1 [skip ci]
## [10.3.1](https://github.com/react-native-community/react-native-webview/compare/v10.3.0...v10.3.1) (2020-06-13)

### Bug Fixes

* **android:** Add SSL error handling for Android WebView ([#1450](https://github.com/react-native-community/react-native-webview/issues/1450) by [@thephpjedi](https://github.com/thephpjedi)) ([1bd5961](1bd5961255)), closes [#259](https://github.com/react-native-community/react-native-webview/issues/259)
2020-06-13 21:28:50 +00:00
semantic-release-bot 357bc0432a chore(release): 10.3.0 [skip ci]
# [10.3.0](https://github.com/react-native-community/react-native-webview/compare/v10.2.3...v10.3.0) (2020-06-13)

### Features

* **android:** Add support for injectedJavaScriptBeforeContentLoaded on Android ([#1099](https://github.com/react-native-community/react-native-webview/issues/1099) by @SRandazzo and @ [@shirakaba](https://github.com/shirakaba)) ([ac4e05e](ac4e05e0f2))
2020-06-13 21:01:07 +00:00
semantic-release-bot b482bbd3a3 chore(release): 10.2.3 [skip ci]
## [10.2.3](https://github.com/react-native-community/react-native-webview/compare/v10.2.2...v10.2.3) (2020-05-29)

### Bug Fixes

* **windows:** Add postMessage for Windows WebView ([#1263](https://github.com/react-native-community/react-native-webview/issues/1263) by [@kaiguo](https://github.com/kaiguo)) ([e402e73](e402e739ea))
2020-05-29 20:25:34 +00:00
semantic-release-bot 1789b79064 chore(release): 10.2.2 [skip ci]
## [10.2.2](https://github.com/react-native-community/react-native-webview/compare/v10.2.1...v10.2.2) (2020-05-29)

### Bug Fixes

* **android:** duplicate `setWebChromeClient()` overwrite ([#1417](https://github.com/react-native-community/react-native-webview/issues/1417)) ([2f8c4c5](2f8c4c5067))
2020-05-29 16:26:27 +00:00
semantic-release-bot d55b25c09e chore(release): 10.2.1 [skip ci]
## [10.2.1](https://github.com/react-native-community/react-native-webview/compare/v10.2.0...v10.2.1) (2020-05-29)

### Bug Fixes

* **android:** Fixes black screen on back button press ([#1298](https://github.com/react-native-community/react-native-webview/issues/1298) by [@michan85](https://github.com/michan85)) ([0317a4b](0317a4b4a5))
* **android:** Improve onLoadProgress consistency ([#1373](https://github.com/react-native-community/react-native-webview/issues/1373) by [@hojason117](https://github.com/hojason117)) ([b97d16c](b97d16c23d))
2020-05-29 01:09:46 +00:00
semantic-release-bot 749add1d87 chore(release): 10.2.0 [skip ci]
# [10.2.0](https://github.com/react-native-community/react-native-webview/compare/v10.1.1...v10.2.0) (2020-05-28)

### Bug Fixes

* **android:** Updated permissions for Android Q and above ([#1384](https://github.com/react-native-community/react-native-webview/issues/1384) by @Karthz) ([03dbcb8](03dbcb870e))

### Features

* **webview:** Allow javascript to open windows automatically ([#1409](https://github.com/react-native-community/react-native-webview/issues/1409) by [@trcoffman](https://github.com/trcoffman)) ([91df544](91df544fae))
2020-05-28 23:51:55 +00:00
semantic-release-bot 3cbf1490f4 chore(release): 10.1.1 [skip ci]
## [10.1.1](https://github.com/react-native-community/react-native-webview/compare/v10.1.0...v10.1.1) (2020-05-28)

### Bug Fixes

* **android:** Broken build due to conditional import of kotlin ([#1412](https://github.com/react-native-community/react-native-webview/issues/1412)) ([7ab2afb](7ab2afbab7))
2020-05-28 11:22:22 +00:00
semantic-release-bot 938e62296a chore(release): 10.1.0 [skip ci]
# [10.1.0](https://github.com/react-native-community/react-native-webview/compare/v10.0.0...v10.1.0) (2020-05-27)

### Bug Fixes

* **android:** Fix several Android file upload issues ([#1302](https://github.com/react-native-community/react-native-webview/issues/1302) by [@hojason117](https://github.com/hojason117)) ([89886c8](89886c820d))

### Features

* **compatibility:** Support React Native 0.62 ([#1364](https://github.com/react-native-community/react-native-webview/issues/1364) by [@jussikinnula](https://github.com/jussikinnula) and [@kaiguo](https://github.com/kaiguo)) ([228f10d](228f10d917))
2020-05-27 03:59:17 +00:00
Jussi Kinnula 228f10d917
feat(compatibility): Support React Native 0.62 (#1364 by @jussikinnula and @kaiguo)
Co-authored-by: Kai Guo <kaigu@microsoft.com>
Co-authored-by: Jamon Holmgren <jamonholmgren@gmail.com>
2020-05-26 20:55:02 -07:00
semantic-release-bot da31ab56f0 chore(release): 10.0.0 [skip ci]
# [10.0.0](https://github.com/react-native-community/react-native-webview/compare/v9.4.0...v10.0.0) (2020-05-26)

### Bug Fixes

* **android:** add missing null check for fileTypes ([#1368](https://github.com/react-native-community/react-native-webview/issues/1368) by [@bengy](https://github.com/bengy)) ([4f0f0af](4f0f0afe70))
* **gradle:** Load Android Gradle Plugin conditionally ([#1230](https://github.com/react-native-community/react-native-webview/issues/1230) by @SaeedZhiany) ([2639d52](2639d523e9))
* **iOS:** Trigger _onContentProcessDidTerminate when removing webview from superview ([#1378](https://github.com/react-native-community/react-native-webview/issues/1378) by [@pmusaraj](https://github.com/pmusaraj)) ([9240536](9240536afa))
* **windows:** Fix windows local asset path ([#1335](https://github.com/react-native-community/react-native-webview/issues/1335) by [@kaiguo](https://github.com/kaiguo)) ([20a3f90](20a3f90c0f))
* **windows:** Fixes ScriptNotify and InvokeScript ([#1354](https://github.com/react-native-community/react-native-webview/issues/1354) by [@benhamlin](https://github.com/benhamlin)) ([81e0360](81e0360ede))

### BREAKING CHANGES

* **gradle:** The Android Gradle plugin is only required when opening the project stand-alone, not when it is included as a dependency. By doing this, the project opens correctly in Android Studio, and it can also be consumed as a native module dependency from an application project without affecting the app project (avoiding unnecessary downloads/conflicts/etc).

Also moved getExtOrDefault to buildScript block to able to use everywhere in the file

This change shouldn't break any apps, but we are marking it as a breaking change in case there are some use cases we've missed.

[skip ci]
2020-05-26 22:02:28 +00:00
Kai Guo ef3ceb24d1
chore(windows): Set up Windows CI (#1358 by @kaiguo)
[skip ci]
2020-05-08 13:24:37 -07:00
semantic-release-bot b10b97646b chore(release): 9.4.0 [skip ci]
# [9.4.0](https://github.com/react-native-community/react-native-webview/compare/v9.3.0...v9.4.0) (2020-04-29)

### Features

* **iOS:** Add onFileDownload callback ([#1214](https://github.com/react-native-community/react-native-webview/issues/1214)) ([a6010d9](https://github.com/react-native-community/react-native-webview/commit/a6010d9))
2020-04-29 16:11:52 +00:00
semantic-release-bot 694b07faa8 chore(release): 9.3.0 [skip ci]
# [9.3.0](https://github.com/react-native-community/react-native-webview/compare/v9.2.2...v9.3.0) (2020-04-24)

### Features

* **macOS:** Make podspec compatible with macOS ([#1328](https://github.com/react-native-community/react-native-webview/issues/1328)) ([2d9b080](https://github.com/react-native-community/react-native-webview/commit/2d9b080))
2020-04-24 17:57:38 +00:00
Eloy Durán 2d9b0803e0
feat(macOS): Make podspec compatible with macOS (#1328)
* [apple] Move iOS/macOS src into common apple dir

* [apple] Enable macOS as platform in podspec

* [example] Use CocoaPods & auto-linking on macOS

* [docs] Update setup for macOS

* [package] Include apple dir in distribution
2020-04-24 19:54:17 +02:00
semantic-release-bot 7d29883f3e chore(release): 9.2.2 [skip ci]
## [9.2.2](https://github.com/react-native-community/react-native-webview/compare/v9.2.1...v9.2.2) (2020-04-21)

### Bug Fixes

* **Android:** Resolve crypto error with uuid usage ([#1334](https://github.com/react-native-community/react-native-webview/issues/1334)) ([438e292](https://github.com/react-native-community/react-native-webview/commit/438e292))
2020-04-21 14:45:06 +00:00
Artur Yorsh 438e29298b
fix(Android): Resolve crypto error with uuid usage (#1334)
* fix(Android): uuid generation issue

* chore: remove redundant types/uuid dependency

* refactor(Android): replace uuid function with unique instance counter
2020-04-21 07:41:25 -07:00
semantic-release-bot c6a39e9f1c chore(release): 9.2.1 [skip ci]
## [9.2.1](https://github.com/react-native-community/react-native-webview/compare/v9.2.0...v9.2.1) (2020-04-14)

### Bug Fixes

* **iOS:** Adds missing silent hardware declaration to header file ([#1319](https://github.com/react-native-community/react-native-webview/issues/1319)) ([2b4d752](https://github.com/react-native-community/react-native-webview/commit/2b4d752)), closes [#1140](https://github.com/react-native-community/react-native-webview/issues/1140)
2020-04-14 22:26:52 +00:00
semantic-release-bot 5c6d137067 chore(release): 9.2.0 [skip ci]
# [9.2.0](https://github.com/react-native-community/react-native-webview/compare/v9.1.4...v9.2.0) (2020-04-13)

### Features

* **iOS:** Add Hardware Silence ([#1218](https://github.com/react-native-community/react-native-webview/issues/1218)) ([d4ab332](https://github.com/react-native-community/react-native-webview/commit/d4ab332)), closes [#1140](https://github.com/react-native-community/react-native-webview/issues/1140)
2020-04-13 15:58:29 +00:00
semantic-release-bot f6d54c2b14 chore(release): 9.1.4 [skip ci]
## [9.1.4](https://github.com/react-native-community/react-native-webview/compare/v9.1.3...v9.1.4) (2020-04-10)

### Bug Fixes

* **Android:** Workaround for chromium bugs 1023678 and 1050635. ([#1221](https://github.com/react-native-community/react-native-webview/issues/1221)) ([5d88af4](https://github.com/react-native-community/react-native-webview/commit/5d88af4))
2020-04-10 20:44:43 +00:00
semantic-release-bot c6ad1f9ed0 chore(release): 9.1.3 [skip ci]
## [9.1.3](https://github.com/react-native-community/react-native-webview/compare/v9.1.2...v9.1.3) (2020-04-09)

### Bug Fixes

* **Windows:** Move rnpm-plugin-windows to devDependencies. ([#1266](https://github.com/react-native-community/react-native-webview/issues/1266)) ([d16746c](https://github.com/react-native-community/react-native-webview/commit/d16746c))
2020-04-09 16:30:55 +00:00
jmheik d16746c8ea
fix(Windows): Move rnpm-plugin-windows to devDependencies. (#1266) 2020-04-09 09:28:28 -07:00
semantic-release-bot c8dc85d66e chore(release): 9.1.2 [skip ci]
## [9.1.2](https://github.com/react-native-community/react-native-webview/compare/v9.1.1...v9.1.2) (2020-04-09)

### Bug Fixes

* **Android:** Ensure each mounted WebView binds their personal onMessage handler ([#1301](https://github.com/react-native-community/react-native-webview/issues/1301)) ([04f9fb2](https://github.com/react-native-community/react-native-webview/commit/04f9fb2))
2020-04-09 15:09:23 +00:00
ivari 04f9fb23ba
fix(Android): Ensure each mounted WebView binds their personal onMessage handler (#1301)
* Ensure each mounted WebView binds their personal onMessage handler

* Changed unique ref generation to uuid

Uses `uuid` npm package.
Dashes are removed from the ref for sanity.
2020-04-09 08:05:44 -07:00
semantic-release-bot 8a46bb9453 chore(release): 9.1.1 [skip ci]
## [9.1.1](https://github.com/react-native-community/react-native-webview/compare/v9.1.0...v9.1.1) (2020-04-07)

### Bug Fixes

* **iOS:** injectedJavaScriptBeforeContentLoaded now runs when messaging is not enabled ([#1286](https://github.com/react-native-community/react-native-webview/issues/1286)) ([571fb8d](https://github.com/react-native-community/react-native-webview/commit/571fb8d))
2020-04-07 17:02:43 +00:00
semantic-release-bot fda1794035 chore(release): 9.1.0 [skip ci]
# [9.1.0](https://github.com/react-native-community/react-native-webview/compare/v9.0.2...v9.1.0) (2020-04-06)

### Features

* **Android:** Implement direct communication between Android code and JS ([#1203](https://github.com/react-native-community/react-native-webview/issues/1203)) ([c88e380](https://github.com/react-native-community/react-native-webview/commit/c88e380))
2020-04-06 17:27:43 +00:00
semantic-release-bot 9fbcedd6b8 chore(release): 9.0.2 [skip ci]
## [9.0.2](https://github.com/react-native-community/react-native-webview/compare/v9.0.1...v9.0.2) (2020-03-27)

### Bug Fixes

* **types:** Remove readonly definition in WebViewTypes.ts ([#1272](https://github.com/react-native-community/react-native-webview/issues/1272)) ([3c06d78](https://github.com/react-native-community/react-native-webview/commit/3c06d78))
2020-03-27 15:43:13 +00:00
semantic-release-bot 2555297785 chore(release): 9.0.1 [skip ci]
## [9.0.1](https://github.com/react-native-community/react-native-webview/compare/v9.0.0...v9.0.1) (2020-03-17)

### Bug Fixes

* **deps:** Update lock file ([#1257](https://github.com/react-native-community/react-native-webview/issues/1257)) ([9732d65](https://github.com/react-native-community/react-native-webview/commit/9732d65))
2020-03-17 21:49:56 +00:00
semantic-release-bot bff88f8281 chore(release): 9.0.0 [skip ci]
# [9.0.0](https://github.com/react-native-community/react-native-webview/compare/v8.2.1...v9.0.0) (2020-03-17)

### Features

* **iOS:** WKUserScripts (e.g. injectedJavaScript) can now update upon props change; and can be configured to inject into all frames. ([#1119](https://github.com/react-native-community/react-native-webview/issues/1119)) ([9cb2f6e](https://github.com/react-native-community/react-native-webview/commit/9cb2f6e)), closes [/github.com/react-native-community/react-native-webview/pull/1119#issuecomment-574919464](https://github.com//github.com/react-native-community/react-native-webview/pull/1119/issues/issuecomment-574919464)

### BREAKING CHANGES

* **iOS:** • Props updates to `injectedJavaScript` are no longer immutable.
2020-03-17 21:06:06 +00:00
semantic-release-bot e9ad1df51e chore(release): 8.2.1 [skip ci]
## [8.2.1](https://github.com/react-native-community/react-native-webview/compare/v8.2.0...v8.2.1) (2020-03-17)

### Bug Fixes

* **deps:** Update React Native Windows version to ^0.61.0-beta.58 ([#1256](https://github.com/react-native-community/react-native-webview/issues/1256)) ([91064ab](https://github.com/react-native-community/react-native-webview/commit/91064ab))
2020-03-17 20:04:30 +00:00
Kai Guo 91064ab4a9
fix(deps): Update React Native Windows version to ^0.61.0-beta.58 (#1256) 2020-03-17 13:00:44 -07:00
semantic-release-bot 5f7f4a19f2 chore(release): 8.2.0 [skip ci]
# [8.2.0](https://github.com/react-native-community/react-native-webview/compare/v8.1.2...v8.2.0) (2020-03-17)

### Features

* **Windows:** Windows support! ([#1220](https://github.com/react-native-community/react-native-webview/issues/1220)) ([ffee0d4](https://github.com/react-native-community/react-native-webview/commit/ffee0d4))
2020-03-17 02:32:43 +00:00
Kai Guo ffee0d4362
feat(Windows): Windows support! (#1220) 2020-03-16 19:30:25 -07:00
semantic-release-bot 19896fc810 chore(release): 8.1.2 [skip ci]
## [8.1.2](https://github.com/react-native-community/react-native-webview/compare/v8.1.1...v8.1.2) (2020-02-21)

### Bug Fixes

* **Android:** Don't log the cookie when downloading file. ([#1224](https://github.com/react-native-community/react-native-webview/issues/1224)) ([2470245](https://github.com/react-native-community/react-native-webview/commit/2470245))
2020-02-21 19:05:47 +00:00