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:54:25 UTC

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

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


   > 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'); });
   >   }
   >   [...]
   > ```
   
   Now i tried with ngzone also. but no use. my url is not changing. it always showing the same url in inappbrowser even after page is changed.


----------------------------------------------------------------
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