Skip to content

Commit

Permalink
Merge pull request #21 from proyecto26/release/v2.2.0
Browse files Browse the repository at this point in the history
Release v2.2.0
  • Loading branch information
jdnichollsc authored Nov 15, 2019
2 parents 38d24fc + ebdfa01 commit 23adc01
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ in case of vulnerabilities.

## [Unreleased]

## [2.2.0] - 2019-11-14
### Added
- Validate if the **type** of the auth result is different to `cancel` before to check the url of the last redirection from **Android**.

## [2.1.1] - 2019-11-14
### Fixed
- Fixed issue about `headers` option not working from **Android** [#16](https://github.com/proyecto26/nativescript-inappbrowser/issues/16).
Expand Down Expand Up @@ -56,7 +60,8 @@ in case of vulnerabilities.
- Methods to open and close external urls to authenticate the user **(openAuth, closeAuth)** using deep linking.
- `isAvailable` method to detect if the device supports the plugin.

[Unreleased]: https://github.com/proyecto26/nativescript-inappbrowser/compare/v2.1.1...HEAD
[Unreleased]: https://github.com/proyecto26/nativescript-inappbrowser/compare/v2.2.0...HEAD
[2.2.0]: https://github.com/proyecto26/nativescript-inappbrowser/compare/v2.1.1...v2.2.0
[2.1.1]: https://github.com/proyecto26/nativescript-inappbrowser/compare/v2.1.0...v2.1.1
[2.1.0]: https://github.com/proyecto26/nativescript-inappbrowser/compare/v2.0.0...v2.1.0
[2.0.0]: https://github.com/proyecto26/nativescript-inappbrowser/compare/v1.0.0...v2.0.0
Expand Down
2 changes: 1 addition & 1 deletion src/InAppBrowser.common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function _checkResultAndReturnUrl(
result: AuthSessionResult
): Promise<AuthSessionResult> {
return new Promise(function(resolve) {
if (android) {
if (android && result.type !== 'cancel') {
android.once(
AndroidApplication.activityResumedEvent,
function(args: AndroidActivityEventData) {
Expand Down
2 changes: 1 addition & 1 deletion src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript-inappbrowser",
"version": "2.1.1",
"version": "2.2.0",
"description": "InAppBrowser for NativeScript",
"main": "InAppBrowser",
"typings": "index.d.ts",
Expand Down

0 comments on commit 23adc01

Please sign in to comment.