Commit Graph
191 Commits
Author SHA1 Message Date
Thibault Malbranche 52c6530305 Merge branch 'typscript-migration' of https://github.com/react-native-community/react-native-webview into typscript-migration 2018-12-19 16:55:23 +01:00
Thibault Malbranche e3398144e0 replace enum by const 2018-12-19 16:45:13 +01:00
Thibault Malbranche 3943f3161f Merge branch 'master' into typscript-migration 2018-12-19 01:07:21 +01:00
Thibault Malbranche 9dcfb53943 wip 2018-12-10 10:02:00 +01:00
Thibault Malbranche 6960248ac1 wip 2018-11-27 18:47:30 +01:00
Thibault Malbranche 99244218f2 remove useless files 2018-11-27 14:27:01 +01:00
Thibault Malbranche 8baf7fca68 eslint disable no console 2018-11-27 12:15:28 +01:00
Thibault Malbranche 6c00b47607 fix WebView types 2018-11-27 12:07:43 +01:00
Thibault Malbranche 9c5344f127 removed underscore dangling 2018-11-27 12:00:26 +01:00
Thibault Malbranche 757a2ad3cb fix eslint 2018-11-27 11:35:58 +01:00
Thibault Malbranche 7632f3ca8d Update .eslintrc.js 2018-11-27 11:19:04 +01:00
Thibault Malbranche a3009f7c48 wip 2018-11-27 11:16:44 +01:00
Thibault Malbranche e203e6571d wip 2018-11-27 10:45:14 +01:00
Thibault Malbranche 508b44ecb0 wip 2018-11-26 19:11:49 +01:00
Thibault Malbranche 322a264d59 wip 2018-11-26 19:07:36 +01:00
Thibault Malbranche 2e4cb88132 wip 2018-11-26 15:30:06 +01:00
Thibault Malbranche 2072aac5ee Update WebViewTypes.ts 2018-11-26 02:08:07 +01:00
Thibault Malbranche 06c5676b35 Update WebViewShared.ts 2018-11-26 02:07:20 +01:00
Thibault Malbranche ed520940af wip 2018-11-26 02:04:03 +01:00
KaFai Choi b0a71e2ccf delete flowconfig use npm instead of yarn for package.json 2018-11-25 21:04:19 +07:00
KaFai Choi 181e2ae171 remove react-native from dev dependencies 2018-11-25 20:13:28 +07:00
KaFai Choi 05e5770ab5 remove unncessary comment 2018-11-25 19:57:35 +07:00
KaFai Choi db6909cf82 merge upstream/master 2018-11-25 19:54:20 +07:00
KaFai 1e2e5c2e0d Merge pull request #1 from bruteforcecat/migrate-to-typescript
Migrate to typescript
2018-11-25 19:45:58 +07:00
KaFai Choi bd955f98e3 Merge branch 'master' into migrate-to-typescript 2018-11-25 19:45:12 +07:00
KaFai Choi c5a626bda0 Merge branch 'master' of github.com:bruteforcecat/react-native-webview 2018-11-25 19:45:00 +07:00
KaFai Choi bdbb07e518 remove uncessary @types/react from package.json 2018-11-25 19:42:04 +07:00
KaFai Choi ad40610c33 fix tsconfig and export WebView in index 2018-11-25 17:58:52 +07:00
semantic-release-bot 48230e4dcf chore(release): 2.13.0 [skip ci]
# [2.13.0](https://github.com/react-native-community/react-native-webview/compare/v2.12.1...v2.13.0) (2018-11-25)

### Features

* **WKWebView:** [ios] Add allowsLinkPreview property to WKWebView ([#170](https://github.com/react-native-community/react-native-webview/issues/170)) ([731dd03](https://github.com/react-native-community/react-native-webview/commit/731dd03))
v2.13.0
2018-11-25 10:18:20 +00:00
Jermaine Oosterling 731dd03fc6 feat(WKWebView): [ios] Add allowsLinkPreview property to WKWebView (#170)
* [ios] Add ‘allowsLinkPreview’ property to iOS WKWebView.

* Add divider in docs

* Typo: add hyphen -> _allowsLinkPreview
2018-11-25 11:17:28 +01:00
KaFai Choi 36bbad3977 rename script compile to build and add it to prepublish script 2018-11-25 15:20:51 +07:00
KaFai Choi 5ebdeb579e remove flow. add typescript 2018-11-25 13:49:23 +07:00
KaFai Choi 78410f9563 merge upstream/master 2018-11-25 08:17:30 +07:00
semantic-release-bot 7918b360d0 chore(release): 2.12.1 [skip ci]
## [2.12.1](https://github.com/react-native-community/react-native-webview/compare/v2.12.0...v2.12.1) (2018-11-22)

### Bug Fixes

* **types:** Fixing typing. ([#167](https://github.com/react-native-community/react-native-webview/issues/167)) ([65bd972](https://github.com/react-native-community/react-native-webview/commit/65bd972))
v2.12.1
2018-11-22 14:20:58 +00:00
KaFai 65bd97219a fix(types): Fixing typing. (#167)
so happy to see there is typing in the newest release.
I added back WebViewIOSLoadRequestEvent which also exist in react-native typing and fix startInLoadingState which should be boolean.
2018-11-22 15:19:16 +01:00
Thibault Malbranche ec862e8328 Merge branch 'master' into master 2018-11-22 15:13:09 +01:00
semantic-release-bot 9ffb6711cc chore(release): 2.12.0 [skip ci]
# [2.12.0](https://github.com/react-native-community/react-native-webview/compare/v2.11.0...v2.12.0) (2018-11-22)

### Features

* **types:** Post message types ([#166](https://github.com/react-native-community/react-native-webview/issues/166)) ([0ff0fd3](https://github.com/react-native-community/react-native-webview/commit/0ff0fd3))
v2.12.0
2018-11-22 14:11:22 +00:00
Chet Corcos 0ff0fd3ed6 feat(types): Post message types (#166) 2018-11-22 15:10:10 +01:00
Thibault Malbranche ee97f4246b Merge branch 'master' into master 2018-11-22 14:59:57 +01:00
KaFai Choi 73bdb1ed2a add back WebViewIOSLoadRequestEvent to typing 2018-11-22 20:42:16 +07:00
semantic-release-bot 3b247e3f1a chore(release): 2.11.0 [skip ci]
# [2.11.0](https://github.com/react-native-community/react-native-webview/compare/v2.10.0...v2.11.0) (2018-11-22)

### Features

* **WKWebview:** [ios] Add 'pagingEnabled' property to the iOS WKWebview ([#165](https://github.com/react-native-community/react-native-webview/issues/165)) ([4870e1f](https://github.com/react-native-community/react-native-webview/commit/4870e1f))
v2.11.0
2018-11-22 12:59:10 +00:00
wiscat 4870e1f06a feat(WKWebview): [ios] Add 'pagingEnabled' property to the iOS WKWebview (#165) 2018-11-22 13:58:07 +01:00
KaFai Choi cf8a918450 fix startInLoadingState to boolean in typing 2018-11-22 18:24:00 +07:00
KaFai Choi ca323fa206 add postMessage to typing 2018-11-22 17:59:17 +07:00
semantic-release-bot f79b7133c1 chore(release): 2.10.0 [skip ci]
# [2.10.0](https://github.com/react-native-community/react-native-webview/compare/v2.9.0...v2.10.0) (2018-11-21)

### Features

* **Android:** Support Android file upload ([#60](https://github.com/react-native-community/react-native-webview/issues/60)) ([752a5b2](https://github.com/react-native-community/react-native-webview/commit/752a5b2)), closes [#33](https://github.com/react-native-community/react-native-webview/issues/33)
v2.10.0
2018-11-21 10:47:40 +00:00
Andrei Pfeiffer 752a5b295a feat(Android): Support Android file upload (#60)
Fixes #33 

I could really use some help from an Android developer on this one, because I just "made it work", don't know how to "make it work good".

Some things that should be reviewed:

- [ ] validate Android 5.0 devices (my emulator work, but outputs some weird sounds; a Galaxy 4 I tested on crashes)
- [ ] validate Android 5.1 devices (emulator works, couldn't find a real device)
- [ ] how to handle File Extensions? (https://www.w3schools.com/tags/att_input_accept.asp)

I'm sure that there's more refactoring to be done, so any help and advice would be appreciated.
2018-11-21 11:46:43 +01:00
semantic-release-bot f69942d70a chore(release): 2.9.0 [skip ci]
# [2.9.0](https://github.com/react-native-community/react-native-webview/compare/v2.8.1...v2.9.0) (2018-11-21)

### Features

* **types:** added missing types ([#157](https://github.com/react-native-community/react-native-webview/issues/157)) ([f70700d](https://github.com/react-native-community/react-native-webview/commit/f70700d))
v2.9.0
2018-11-21 08:46:49 +00:00
Chet Corcos f70700df24 feat(types): added missing types (#157) 2018-11-21 09:45:46 +01:00
semantic-release-bot 9b70012435 chore(release): 2.8.1 [skip ci]
## [2.8.1](https://github.com/react-native-community/react-native-webview/compare/v2.8.0...v2.8.1) (2018-11-20)

### Bug Fixes

* **WKWebView:** Fix the message handle bug. ([#143](https://github.com/react-native-community/react-native-webview/issues/143)) ([2b9292e](https://github.com/react-native-community/react-native-webview/commit/2b9292e))
v2.8.1
2018-11-20 00:49:35 +00:00
Neil 2b9292ed1c fix(WKWebView): Fix the message handle bug. (#143)
* fix webview always recreate

* fix webview always recreate

* code format

* Update RNCWKWebView.m

* @bugfix fix the message handle problem
2018-11-20 01:48:26 +01:00