cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cordova-plugin-inappbrowser] NIYASSURABHI removed a comment on issue #727: Route change in angular webapp cannot detect using ionic 4 Inapp browser
Date Fri, 12 Jun 2020 09:45:58 GMT

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


Mime
View raw message