Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(in-app-browser): adds missing customscheme type #3276

Merged
merged 1 commit into from
Jan 3, 2020
Merged

fix(in-app-browser): adds missing customscheme type #3276

merged 1 commit into from
Jan 3, 2020

Conversation

timbru31
Copy link
Contributor

@timbru31 timbru31 commented Jan 3, 2020

This solves the issue of the missing event that is supported by the InAppBrowser plugin: #3142 (comment)
This change also adds support for custom events by adding a method overload to support a generic string. By adding the overload the IDEs can still provide intellisense for the known events.
Custom events are very well a thing: apache/cordova-plugin-inappbrowser#514 (comment)

The only downside (but lib.dom.ts has it, too) is that the type property of the InAppBrowserEvent needs to be changed to a string, too.

it also adds an overload to the `on` function to pass a generic string to support custom events.
@danielsogl danielsogl self-assigned this Jan 3, 2020
@danielsogl danielsogl added the target: patch This PR is targeted for the next patch release label Jan 3, 2020
@danielsogl danielsogl merged commit 240feba into danielsogl:master Jan 3, 2020
@timbru31 timbru31 deleted the patch-1 branch January 3, 2020 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants