Tero Paananen
ab0f3a7c10
Merge d29e285284 into 4d8a76f369
пре 4 година
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/))
пре 4 година
Brandon Lax
dbf46593fa
fix(macOS): Don't include iOS pull-to-refresh control (#1636 )
* Update RNCWebView.h
Limit methods relating to pull to refresh to only iOS
* Update RNCWebView.m
Block methods relating to pull to refresh when the target is macOS as macOS does not have the UIRefreshControl
Co-authored-by: Eloy Durán <eloy.de.enige@gmail.com >
пре 4 година
Matteo Pagani
f2041955a2
fix(podspec): Lowered deployment target for MacOS to 10.13 (#1673 )
пре 4 година
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/))
пре 4 година
Radek Czemerys
08b709967f
fix(ios): Xcode 12 compatibility (#1643 )
* fix: add React-Core to podspec for Xcode 12 compatibility
https://github.com/facebook/react-native/issues/29633
* chore: remove React dependency
пре 4 година
Jamon Holmgren
a83596eac2
chore(docs): Add other breaking changes to README
[skip ci]
пре 4 година
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/))
пре 4 година
Kesha Antonov
22a60fd23a
feat(iOS): Add prop autoManageStatusBarEnabled (#914 )
Co-authored-by: Jamon Holmgren <jamon@infinite.red >
Co-authored-by: Jamon Holmgren <jamonholmgren@gmail.com >
Co-authored-by: Thibault Malbranche <thibault.malbranche@epitech.eu >
пре 4 година
Dominic Lee
40814101be
chore(docs): remove hash url change note (#1622 )
пре 4 година
Tero Paananen
d29e285284
Messaging test added into example app
пре 4 година
Tero Paananen
acac5fd504
NuGet package reference updated
пре 4 година
Tero Paananen
94b05b40a3
Platfrom version update
пре 4 година
iou90
4c4399cd57
Fix(types): Update Typescript definition file, declaring WebView class as a generic class (#1604 )
Co-authored-by: iou90kant <dekang.liu@guokr.com >
пре 4 година
Tero Paananen
9d75285ddf
yarn lock update
пре 4 година
Tero Paananen
8e830a94ad
WebView prj builds
пре 4 година
Tero Paananen
07888ae442
Reference fix
пре 4 година
Tero Paananen
e9844a4fd8
version changes
пре 4 година
Tero Paananen
f2f6fafd5e
Update bridge implementation
пре 4 година
Tero Paananen
abb321e263
"Microsoft.Windows.CppWinRT" version="2.0.200729.8"
пре 4 година
Tero Paananen
a08df15ac8
Bribge works
пре 4 година
Tero Paananen
c5157df10e
Base for web allowed object implemented c++/winrt
пре 4 година
Tero Paananen
564ff1b330
Bridge reference added
пре 4 година
Tero Paananen
3047b6f03f
Debug log removed
пре 4 година
Tero Paananen
9c8a1e46e1
script.notify() usage removed
пре 4 година
Tero Paananen
75a2bebbe4
PostMessage api uses string message
пре 4 година
Tero Paananen
7d65185294
Free event delegate
пре 4 година
Tero Paananen
55274858f2
Use bridge if messagingEnabled
пре 4 година
Tero Paananen
c1f6adebf2
Store bridge as instance variable
пре 4 година
Tero Paananen
dc39e2f5c8
Message posting
пре 4 година
Tero Paananen
24ff7982f1
WebViewBridge
пре 4 година
Tero Paananen
82fc0fd3d3
Add messagingEnabled prop
пре 4 година
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/))
пре 4 година
Mathieu Bruguier
9dcd108b1f
fix(types): Update Typescript definition file (#1597 )
пре 4 година
Tero Paananen
562ff097c8
Example app tested
пре 4 година
Tero Paananen
2e09b078a4
Destructor not needed
пре 4 година
Tero Paananen
83df3fa77c
WebView in content of UserControl
пре 4 година
Tero Paananen
6f60262d21
Manage to build webview using Visual Studio
пре 4 година
Daniel Vicory
4d4b5e2387
Synchronously decide if Android WebView should load a URL or not. (#1590 )
This solves a class of issues when the WebView loses "context"
that a subsequent page load is the same as what was attempted
to be loaded previously. This solves a bug where a HTTP redirect
in combination with history manipulations causes a user to be
stuck and prevented from going back. Since WebView requests are
allowed to happen normally, debugging the WebView and tracking
redirects and page load initiators is more accurate and easier.
This will also bypass bridge latency and provide a faster navigation.
To do this, we must lock in the shouldOverrideUrlLoading callback
and send an event to JS. Currently, this callback is ran on
the main UI thread, of which we have no control over. This is
problematic as using the bridge in most ways seems to require
the main UI thread, which will cause a deadlock. However, using
BatchedBridge for Java->JS and a synchronous method for JS->Java
doesn't cause any problems. Additionally, it's been designed so
that if WebView suddenly runs the callback on a different thread
allowing for concurrency, it will continue to work.
пре 4 година
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/))
пре 4 година
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 >
пре 4 година
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/))
пре 4 година
Caleb Clarke
a48c9819c5
fix(ts): Convert ContentInsetAdjustmentBehavior from an enum back to a string union type (#1536 )
ContentInsetAdjustmentBehavior was originally added as a string union type. The change to support MacOS replaced it with an enum, which was a bit of a breaking change, especially as the enum was not exported from the main library. Exporting the enum would probably also help, but since this was the only enum and the rest of react-native-webview uses string unions instead, it seems best to revert it to a string union.
Co-authored-by: Jamon Holmgren <jamonholmgren@gmail.com >
пре 4 година
cristianoccazinsp
2cb2113c29
fix(iOS): changed the way the top view controller is obtained. (#1592 )
Co-authored-by: Cristiano Coelho <cristianocca@hotmail.com >
пре 4 година
Leonardo Russo
db529e265f
Updated Guide.md for using injectedJavaScript (#1578 )
https://github.com/react-native-community/react-native-webview/issues/1554
пре 4 година
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/))
пре 4 година
oliviacaraiman
9ffca8f9db
feat(android): Add androidLayerType as prop (#1588 )
* Add androidLayerType as a prop
* Deprecate "androidHardwareAccelerationDisabled" prop
* Update reference
Co-authored-by: Olivia Caraiman <olcaraim@microsoft.com >
пре 4 година
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/))
пре 4 година
Sergei Butko
a02d88f54f
feat(iOS): Add the pull to refresh (#1265 )
* Add pull to refresh support for iOS
* Add pull to refresh control removal from WebView
* Add the type and reference description about pull to refresh
* Set bounces to true when enabling pull to refresh, add references
* Add the back to props anchor to pullToRefreshEnabled
пре 4 година
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/))
пре 4 година