You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/06/12 09:45:58 UTC

[GitHub] [cordova-plugin-inappbrowser] NIYASSURABHI removed a comment on issue #727: Route change in angular webapp cannot detect using ionic 4 Inapp browser

NIYASSURABHI removed a comment on issue #727:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/727#issuecomment-643181556


   > Have you tried calling it within ngZone?
   > 
   > ```js
   >   constructor(private _ngZone: NgZone [, ...]) {}
   >   
   >   [...]
   >   if (event.url.toString().includes('login/') && !event.url.toString().toLowerCase().includes(reg.toLowerCase())) {
   >     browser.close();
   >     this._ngZone.run(() => { this.navctrl.navigateRoot('/auth'); });
   >   }
   >   [...]
   > ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org