Skip to content

Commit 030a39d

Browse files
author
Aitor Cubeles Torres
committed
Merge remote-tracking branch 'upstream/master' into android_isAvailable
2 parents 243029f + 7f91796 commit 030a39d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+13907
-2692
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "@react-native-community",
33
"rules": {
4-
"comma-dangle": ["error", {
4+
"comma-dangle": ["error", "always-multiline", {
55
"arrays": "never",
66
"objects": "never",
77
"imports": "never",

.flowconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ node_modules/warning/.*
2323
; Flow doesn't support platforms
2424
.*/Libraries/Utilities/HMRLoadingView.js
2525

26+
<PROJECT_ROOT>/example/.*
27+
2628
[untyped]
2729
.*/node_modules/@react-native-community/cli/.*/.*
2830

.github/issue_template.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
### Make sure to check the demo app(s) for sample usage
2+
3+
### Make sure to check the existing issues in this repository
4+
5+
### If the demo apps cannot help and there is no issue for your problem, tell us about it
6+
Please, ensure your title is less than 63 characters long and starts with a capital
7+
letter.
8+
9+
### Which platform(s) does your issue occur on?
10+
- iOS/Android/Both
11+
- iOS/Android versions
12+
- emulator or device. What type of device?
13+
14+
### Please, provide the following version numbers that your issue occurs with:
15+
16+
- CLI: (run `react-native --version` to fetch it)
17+
- Plugin(s): (look for the version numbers in the `package.json` file of your
18+
project and paste your dependencies and devDependencies here)
19+
20+
### Please, tell us how to recreate the issue in as much detail as possible.
21+
Describe the steps to reproduce it.
22+
23+
### Is there any code involved?
24+
- provide a code example to recreate the problem
25+
- (EVEN BETTER) provide a .zip with application or refer to a repository with application where the problem is reproducible.

.github/pull_request_template.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!--
2+
We, the rest of the React Native community, thank you for your
3+
contribution!
4+
To help the rest of the community review your change, please follow the instructions in the template.
5+
-->
6+
7+
<!-- PULL REQUEST TEMPLATE -->
8+
<!-- (Update "[ ]" to "[x]" to check a box) -->
9+
10+
## PR Checklist
11+
12+
- [ ] The PR title follows our guidelines: https://github.com/proyecto26/react-native-inappbrowser/blob/master/CONTRIBUTING.md#pull-request-process.
13+
- [ ] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.
14+
- [ ] All existing tests are passing
15+
- [ ] Tests for the changes are included
16+
17+
## What is the current behavior?
18+
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->
19+
20+
## What is the new behavior?
21+
<!-- Describe the changes. -->
22+
23+
Fixes/Implements/Closes #[Issue Number].
24+
25+
<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->
26+
27+
<!--
28+
BREAKING CHANGES:
29+
30+
31+
[Describe the impact of the changes here.]
32+
33+
Migration steps:
34+
[Provide a migration path for existing applications.]
35+
-->
36+

.gitignore

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1-
21
# OSX
32
#
43
.DS_Store
54

6-
# node.js
7-
#
8-
node_modules/
9-
npm-debug.log
10-
yarn-error.log
11-
12-
135
# Xcode
146
#
157
build/
@@ -28,8 +20,6 @@ DerivedData
2820
*.hmap
2921
*.ipa
3022
*.xcuserstate
31-
project.xcworkspace
32-
3323

3424
# Android/IntelliJ
3525
#
@@ -39,8 +29,20 @@ build/
3929
local.properties
4030
*.iml
4131

32+
# node.js
33+
#
34+
node_modules/
35+
npm-debug.log
36+
yarn-error.log
37+
4238
# BUCK
4339
buck-out/
4440
\.buckd/
4541
*.keystore
46-
42+
!debug.keystore
43+
44+
# Visual Studio Code (Java plugin)
45+
#
46+
.classpath
47+
.project
48+
.settings/

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
.github/
21
example/

CHANGELOG.md

Lines changed: 58 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,63 @@ in case of vulnerabilities.
2222

2323
## [Unreleased]
2424

25+
## [3.4.0] - 2020-04-08
26+
27+
### Added
28+
- Added `ephemeralWebSession` option to supports `ephemeralWebBrowserSession` on iOS 13 by [@avenner](https://github.com/avenner) ([#141](https://github.com/proyecto26/react-native-inappbrowser/pull/141)).
29+
- Add `@ReactModule` annotation by [@janicduplessis](https://github.com/janicduplessis) ([#94](https://github.com/proyecto26/react-native-inappbrowser/pull/94)).
30+
31+
### Fixed
32+
- Remove listener of `openAuth` when `closeAuth` is called.
33+
34+
## [3.3.4] - 2020-01-07
35+
36+
### Fixed
37+
- Disable swipe to dismiss gesture for modal by [@frankyjuang](https://github.com/frankyjuang) ([#134](https://github.com/proyecto26/react-native-inappbrowser/pull/134)).
38+
39+
## [3.3.3] - 2019-11-25
40+
41+
### Fixed
42+
- Remove build warnings with **iOS** 13 using [Pragmas](https://clang.llvm.org/docs/UsersManual.html#controlling-diagnostics-via-pragmas).
43+
44+
## [3.3.2] - 2019-11-15
45+
46+
### Fixed
47+
- Validate if the **type** of the auth result is different to `cancel` before to check the url of the last redirection from **Android**.
48+
- Fixed issue getting the result of the auth redirection by using `AppState` to detect **Android** Activity `OnResume` event once.
49+
50+
## [3.3.1] - 2019-11-13
51+
52+
### Fixed
53+
- Exclude unnecessary file and folders from release distribution by [@SaeedZhiany](https://github.com/SaeedZhiany) ([#114](https://github.com/proyecto26/react-native-inappbrowser/pull/114)).
54+
- Update `.gitignore` to clean unnecessary files by [@friederbluemle](https://github.com/friederbluemle) ([#115](https://github.com/proyecto26/react-native-inappbrowser/pull/115)).
55+
- Use `yarn` instead of `npm` cli by [@friederbluemle](https://github.com/friederbluemle) ([#116](https://github.com/proyecto26/react-native-inappbrowser/pull/116)).
56+
- Update dev dependencies by [@friederbluemle](https://github.com/friederbluemle) ([#117](https://github.com/proyecto26/react-native-inappbrowser/pull/117)).
57+
58+
## [3.3.0] - 2019-11-12
59+
60+
### Fixed
61+
- Removed `waitForRedirectDelay` option and fixed race condition from **Android** to get the response of the redirection ([#36](https://github.com/proyecto26/react-native-inappbrowser/issues/36))
62+
- Fixed **Android** Activity issue closing the browser and restoring the state by using `onSaveInstanceState` ([#60](https://github.com/proyecto26/react-native-inappbrowser/issues/60)).
63+
64+
## [3.2.0] - 2019-11-10
65+
66+
### Added
67+
- Added support for `automatic` modal presentation style from **iOS**.
68+
- Added `enableBarCollapsing` option to determines whether the browser's tool bars will collapse or not from **iOS**.
69+
70+
### Fixed
71+
- Fixed Browser crashes on iOS 13 when openAuth is used.
72+
2573
## [3.1.0] - 2019-09-03
2674

2775
### Added
28-
- Add `waitForRedirectDelay` option for **Android** to fix issues dismissing the browser before detecting the redirection with `Linking` ([817f6ec](https://github.com/proyecto26/react-native-inappbrowser/commit/817f6ece140c0f2f84e21a537d5030403e652bc1)).
76+
- Added `waitForRedirectDelay` option for **Android** to fix issues dismissing the browser before detecting the redirection with `Linking` ([817f6ec](https://github.com/proyecto26/react-native-inappbrowser/commit/817f6ece140c0f2f84e21a537d5030403e652bc1)).
2977

3078
## [3.0.1] - 2019-08-16
3179

3280
### Added
33-
- Add gradle backward-compatibility for Android Support with Jetifier ([#96](https://github.com/proyecto26/react-native-inappbrowser/pull/97)).
81+
- Added gradle backward-compatibility for Android Support with Jetifier ([#96](https://github.com/proyecto26/react-native-inappbrowser/pull/97)).
3482
- Added **androidXAnnotation** and **androidXBrowser** properties from **rootProject.ext** for **AndroidX** with backward compatibility using **supportLibVersion** property instead.
3583

3684
## [3.0.0] - 2019-07-27
@@ -106,7 +154,14 @@ Missing tags for previous versions 🤷‍♂
106154
- Fix `EventBusException` on **Android** by [@Almouro](https://github.com/Almouro) ([9cf4cbb](https://github.com/proyecto26/react-native-inappbrowser/commit/9cf4cbb58d55c8b534dabac6791e6a2a5428253f)).
107155

108156

109-
[Unreleased]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.1.0...HEAD
157+
[Unreleased]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.4.0...HEAD
158+
[3.4.0]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.3.4...v3.4.0
159+
[3.3.4]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.3.3...v3.3.4
160+
[3.3.3]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.3.2...v3.3.3
161+
[3.3.2]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.3.1...v3.3.2
162+
[3.3.1]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.3.0...v3.3.1
163+
[3.3.0]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.2.0...v3.3.0
164+
[3.2.0]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.1.0...v3.2.0
110165
[3.1.0]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.0.1...v3.1.0
111166
[3.0.1]: https://github.com/proyecto26/react-native-inappbrowser/compare/v3.0.0...v3.0.1
112167
[3.0.0]: https://github.com/proyecto26/react-native-inappbrowser/compare/2.0.4...v3.0.0

0 commit comments

Comments
 (0)