diff --git a/src/plugins/inappbrowser.ts b/src/plugins/inappbrowser.ts index 65bfe8684..fdb57995f 100644 --- a/src/plugins/inappbrowser.ts +++ b/src/plugins/inappbrowser.ts @@ -97,7 +97,7 @@ export class InAppBrowser { on(event: string): Observable { return new Observable((observer) => { this._objectInstance.addEventListener(event, observer.next.bind); - return () => this._objectInstance.removeEventListener(event, observer.next.bind); + return () => this._objectInstance.removeEventListener(event, observer.next.bind(observer)); }); } }