Peter Ho
231100dc3c
fix(iOS): Align look and feel of Window.prompt() to Mobile Safari (#677 )
před 5 roky
semantic-release-bot
234075c524
chore(release): 6.5.0 [skip ci]
# [6.5.0](https://github.com/react-native-community/react-native-webview/compare/v6.4.1...v6.5.0 ) (2019-08-02)
### Features
* **android:** polyfill applicationNameForUserAgent on Android ([#707 ](https://github.com/react-native-community/react-native-webview/issues/707 )) ([9c592d6 ](https://github.com/react-native-community/react-native-webview/commit/ 9c592d6 ))
před 5 roky
Raphael Eidus
9c592d621c
feat(android): polyfill applicationNameForUserAgent on Android (#707 )
před 5 roky
Thibault Malbranche
2333e45208
chore(docs): clarify install steps
před 5 roky
semantic-release-bot
59e5e71e4e
chore(release): 6.4.1 [skip ci]
## [6.4.1](https://github.com/react-native-community/react-native-webview/compare/v6.4.0...v6.4.1 ) (2019-08-02)
### Bug Fixes
* **android:** onMessage on android to return baseEvent([#755 ](https://github.com/react-native-community/react-native-webview/issues/755 )) ([282f81d ](https://github.com/react-native-community/react-native-webview/commit/ 282f81d ))
před 5 roky
SiDevesh
282f81dcdd
fix(android): onMessage on android to return baseEvent(#755 )
před 5 roky
semantic-release-bot
cc17e65904
chore(release): 6.4.0 [skip ci]
# [6.4.0](https://github.com/react-native-community/react-native-webview/compare/v6.3.1...v6.4.0 ) (2019-08-02)
### Features
* **android props:** Add incognito to Android ([#524 ](https://github.com/react-native-community/react-native-webview/issues/524 )) ([25bc5a5 ](https://github.com/react-native-community/react-native-webview/commit/ 25bc5a5 ))
před 5 roky
José Luis Pereira
25bc5a55c6
feat(android props): Add incognito to Android (#524 )
před 5 roky
Erik Engervall
1d649a81c8
chore: Update WebView.tsx (#751 by @erikengervall )
[skip ci]
před 5 roky
semantic-release-bot
fd145cbd3c
chore(release): 6.3.1 [skip ci]
## [6.3.1](https://github.com/react-native-community/react-native-webview/compare/v6.3.0...v6.3.1 ) (2019-07-02)
### Bug Fixes
* **install guide:** Add pod install step to getting started guide ([#678 ](https://github.com/react-native-community/react-native-webview/issues/678 )) ([d6044c2 ](https://github.com/react-native-community/react-native-webview/commit/ d6044c2 ))
před 5 roky
Ian Ownbey
d6044c2b5d
fix(install guide): Add pod install step to getting started guide (#678 )
před 5 roky
BettyJJ
1e809932ff
chore(types): Update Reference.md (#687 )
added doc for the `textZoom` property
před 5 roky
Thorny
38110327ed
chore(podspec): Podspec source format fix (#681 )
před 5 roky
道玄
fc04c51c31
chore(podspec): fix quotes (#691 )
add missing quote
před 5 roky
Vitor Reis
d61d335f80
chore(readme): Fix npmjs hyperlink in readme (#638 )
před 5 roky
Hyo Chan Jang
73c630c5bb
chore(podspec): Add version to podspec (#646 )
před 5 roky
William Swanson
167431941b
chore(tooling): Switch from `prepublish` to `prepare` (#649 )
As described in the [NPM documentation](https://docs.npmjs.com/misc/scripts#prepublish -and-prepare), the `prepublish` script is deprecated for this use-case. Instead, `prepare` should be used for essential build tasks.
In practice, this makes it possible to depend on `react-native-webview` via git. If I contribute a new feature, I can use the feature right away by depending on its git branch, without waiting for upstream to publish, or even approve my pull request. This is great for experimentation.
před 5 roky
gasolin
0c458651f3
chore(readme): Update Expo support state in README (#665 )
* Update Expo support state in README
* Update README.md
před 5 roky
semantic-release-bot
d24595cd3b
chore(release): 6.3.0 [skip ci]
# [6.3.0](https://github.com/react-native-community/react-native-webview/compare/v6.2.3...v6.3.0 ) (2019-06-13)
### Features
* **iOS WKWebView:** Add mainDocumentURL to onShouldStartLoadWithRequest([#493 ](https://github.com/react-native-community/react-native-webview/issues/493 )) ([71d1fcc ](https://github.com/react-native-community/react-native-webview/commit/ 71d1fcc ))
před 5 roky
Penar Musaraj
71d1fcc675
feat(iOS WKWebView): Add mainDocumentURL to onShouldStartLoadWithRequest(#493 )
* Pass mainDocumentURL to onShouldStartLoadWithRequest
* Update reference
* Update typescript types
* Update WebViewTypes.ts
před 5 roky
semantic-release-bot
178b416d1c
chore(release): 6.2.3 [skip ci]
## [6.2.3](https://github.com/react-native-community/react-native-webview/compare/v6.2.2...v6.2.3 ) (2019-06-13)
### Bug Fixes
* **types:** android/allowsFullscreenVideo ([#590 ](https://github.com/react-native-community/react-native-webview/issues/590 )) ([f8a560b ](https://github.com/react-native-community/react-native-webview/commit/ f8a560b ))
před 5 roky
Dariusz Niemczyk
f8a560ba51
fix(types): android/allowsFullscreenVideo (#590 )
Fix missing `allowsFullscreenVideo` prop after https://github.com/react-native-community/react-native-webview/pull/325 got merged.
před 5 roky
Tijs Teulings
a863c6557f
chore(docs): Added additional note to `source` parameter (#621 )
Added a note about the baseUrl usage since this has been the cause of some filed issues e.g. https://github.com/react-native-community/react-native-webview/issues/526#issuecomment -498067637
před 5 roky
semantic-release-bot
66ae4e5d78
chore(release): 6.2.2 [skip ci]
## [6.2.2](https://github.com/react-native-community/react-native-webview/compare/v6.2.1...v6.2.2 ) (2019-06-02)
### Bug Fixes
* **types:** Add missing applicationNameForUserAgent type ([#589 ](https://github.com/react-native-community/react-native-webview/issues/589 )) ([b06be7e ](https://github.com/react-native-community/react-native-webview/commit/ b06be7e ))
před 5 roky
Penar Musaraj
b06be7e136
fix(types): Add missing applicationNameForUserAgent type (#589 )
před 5 roky
semantic-release-bot
1a0f2498d5
chore(release): 6.2.1 [skip ci]
## [6.2.1](https://github.com/react-native-community/react-native-webview/compare/v6.2.0...v6.2.1 ) (2019-06-02)
### Bug Fixes
* **iOS WKWebView:** contentInset not properly applied ([#603 ](https://github.com/react-native-community/react-native-webview/issues/603 )) ([6e79f2a ](https://github.com/react-native-community/react-native-webview/commit/ 6e79f2a ))
před 5 roky
ptrocki
6e79f2a26f
fix(iOS WKWebView): contentInset not properly applied (#603 )
před 5 roky
Jamon Holmgren
697e05163f
chore(docs): Add CODEOWNERS file (#606 )
Per https://github.com/react-native-community/.github/issues/1\ #issuecomment-496203158
před 5 roky
semantic-release-bot
17b155be8d
chore(release): 6.2.0 [skip ci]
# [6.2.0](https://github.com/react-native-community/react-native-webview/compare/v6.1.1...v6.2.0 ) (2019-06-02)
### Features
* **loading:** Changed loading/error rendering ([#612 ](https://github.com/react-native-community/react-native-webview/issues/612 )) ([d429e82 ](https://github.com/react-native-community/react-native-webview/commit/ d429e82 ))
před 5 roky
Penar Musaraj
d429e82c3a
feat(loading): Changed loading/error rendering (#612 )
před 5 roky
semantic-release-bot
3f3bcfc0ba
chore(release): 6.1.1 [skip ci]
## [6.1.1](https://github.com/react-native-community/react-native-webview/compare/v6.1.0...v6.1.1 ) (2019-06-02)
### Bug Fixes
* **performance:** Improved `onScroll` to work efficiently on Android ([#609 ](https://github.com/react-native-community/react-native-webview/issues/609 )) ([d8743ee ](https://github.com/react-native-community/react-native-webview/commit/ d8743ee ))
před 5 roky
ifsnow
d8743eeed2
fix(performance): Improved `onScroll` to work efficiently on Android (#609 )
před 5 roky
A C SREEDHAR REDDY
fab6008dd1
chore(docs): npm install instructions to docs (#616 by @a-c-sreedhar-reddy )
[skip ci]
před 5 roky
semantic-release-bot
db82ba3146
chore(release): 6.1.0 [skip ci]
# [6.1.0](https://github.com/react-native-community/react-native-webview/compare/v6.0.2...v6.1.0 ) (2019-05-20)
### Features
* **iOS WkWebview:** Add applicationNameForUserAgent support ([#506 ](https://github.com/react-native-community/react-native-webview/issues/506 )) ([4dc4b89 ](https://github.com/react-native-community/react-native-webview/commit/ 4dc4b89 ))
před 5 roky
Penar Musaraj
4dc4b89e64
feat(iOS WkWebview): Add applicationNameForUserAgent support (#506 )
před 5 roky
Thibault Malbranche
7db138c0e5
chore(docs): getting started update
před 5 roky
Thibault Malbranche
2ab1716532
chore(docs): Remove AndroidX by default
před 5 roky
semantic-release-bot
a335bc5684
chore(release): 6.0.2 [skip ci]
## [6.0.2](https://github.com/react-native-community/react-native-webview/compare/v6.0.1...v6.0.2 ) (2019-05-19)
### Bug Fixes
* **AndroidX support:** Fixed broken import + added instructions ([#583 ](https://github.com/react-native-community/react-native-webview/issues/583 )) ([585ac7a ](https://github.com/react-native-community/react-native-webview/commit/ 585ac7a )), closes [#580 ](https://github.com/react-native-community/react-native-webview/issues/580 ) [#581 ](https://github.com/react-native-community/react-native-webview/issues/581 ) [#582 ](https://github.com/react-native-community/react-native-webview/issues/582 )
před 5 roky
Thibault Malbranche
585ac7a243
fix(AndroidX support): Fixed broken import + added instructions (#583 )
Hello, in order to use react-native-webview > 6.0.2 please make your android/gradle.properties contains:
```
android.useAndroidX=true
android.enableJetifier=true
```
This enables AndroidX libraries which are the new standard.
fixes #580
fixes #581
fixes #582
před 5 roky
allcontributors[bot]
c98b5bebbd
chore(docs): add dvicory as a contributor (#576 )
* docs: update README.md
* docs: update .all-contributorsrc
před 5 roky
semantic-release-bot
16acf6fbdc
chore(release): 6.0.1 [skip ci]
## [6.0.1](https://github.com/react-native-community/react-native-webview/compare/v6.0.0...v6.0.1 ) (2019-05-17)
### Bug Fixes
* **Android:** on scroll syntax error ([#577 ](https://github.com/react-native-community/react-native-webview/issues/577 )) ([cbbff21 ](https://github.com/react-native-community/react-native-webview/commit/ cbbff21 ))
před 5 roky
liminjie
cbbff21ea8
fix(Android): on scroll syntax error (#577 )
getJSEventName() needs a ScrollEventType parameter
před 5 roky
semantic-release-bot
cfa49943c4
chore(release): 6.0.0 [skip ci]
# [6.0.0](https://github.com/react-native-community/react-native-webview/compare/v5.9.0...v6.0.0 ) (2019-05-16)
### Features
* **android:** Migrate to Android X ([#520 ](https://github.com/react-native-community/react-native-webview/issues/520 )) ([1d6c88d ](https://github.com/react-native-community/react-native-webview/commit/ 1d6c88d ))
### BREAKING CHANGES
* **android:** If you override compileSdkVersion<28 it won't work anymore.
před 5 roky
Mike Diarmid
1d6c88dcf5
feat(android): Migrate to Android X (#520 )
BREAKING CHANGE:
If you override compileSdkVersion<28 it won't work anymore.
před 5 roky
semantic-release-bot
6323d9962d
chore(release): 5.9.0 [skip ci]
# [5.9.0](https://github.com/react-native-community/react-native-webview/compare/v5.8.2...v5.9.0 ) (2019-05-16)
### Bug Fixes
* **Android:** geolocation access ([#562 ](https://github.com/react-native-community/react-native-webview/issues/562 )) ([409b9ae ](https://github.com/react-native-community/react-native-webview/commit/ 409b9ae ))
### Features
* **fullscreen videos:** Support fullscreen video on Android ([#325 ](https://github.com/react-native-community/react-native-webview/issues/325 )) ([d72c2ae ](https://github.com/react-native-community/react-native-webview/commit/ d72c2ae ))
* **onScroll:** Add `onScroll` callback for iOS & Android ([#516 ](https://github.com/react-native-community/react-native-webview/issues/516 )) ([e4c8dab ](https://github.com/react-native-community/react-native-webview/commit/ e4c8dab ))
před 5 roky
Jared Forsyth
e4c8dab2ae
feat(onScroll): Add `onScroll` callback for iOS & Android (#516 )
* Add `onScroll` callback for iOS & Android
This code was mostly extracted from https://github.com/react-native-community/react-native-webview/pull/202
I tried and tried to make it work with `Animated.event`'s `useNativeDriver`, but I was unsuccessful 😢 that'll have to be done later once I understand better how Animated's native stuff is hooked up.
* fix crash for missing onScroll
před 5 roky
Adrian Rangel
409b9ae620
fix(Android): geolocation access (#562 )
před 5 roky
Malcolm Scruggs
a0daff92c0
chore(docs): Create example for injectedJavaScript (#571 )
před 5 roky
Daniel Vicory
d72c2ae144
feat(fullscreen videos): Support fullscreen video on Android (#325 )
* Extract WebChromeClient from an anonymous class
* Support fullscreen videos on Android
Forces landscape mode while playing.
* Use sticky immersive mode for fullscreen videos
No longer forces landscape mode as that is a problem for portrait videos - allow
the user to rotate as necessary.
Only supports KitKat or greater, and falls back to leaving the status and navigation
bars visible for lower than KitKat. This is the easiest way to prevent issues with
resizing the video during playback.
Also implement a lifecyle event listener which means if a user backgrounds the app
or locks the screen with the video fullscreen, the UI visibility is re-applied.
* Add allowsFullscreenVideo prop to control whether videos can be fullscreen on Android
Luckily, we're able to change the WebChromeClient on demand in response to prop changes
without seeming to do any harm. If you switch to disallow fullscreen, it will attempt
to close the currently fullscreened video (if there is one) so users aren't stuck.
I did notice a bug that if you go from fullscreen allowed, to fullscreen disallowed,
the fullscreen button will remain on the video. Tapping the button will have no effect.
před 5 roky
Jamon Holmgren
c0332ec607
chore(docs): Adds guide for intercepting hash URL changes (#555 )
před 5 roky