Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70827

Page disappears after opening - Deeplink Navigation issue

$
0
0

My Application contains 2 different pages which I need to open when user uses deeplinks. Deeplinks works fine but when I install application and open page(Using deeplink) it just shows up and got removed from the view stack. And when I do this multiple times then links open smoothly. I didn’t understand why this is happening in very first time when user install the app. Maybe there is some sort of caching page routes mechanism which is causing the problem.

       if (`${match.$args['type']}` == 'shop') {
          internalPath = '/tabs/market-place/wholesaler-store/category-detail-new'
          var navigationExtras: NavigationExtras = {
            state: {
              shop_id: `${match.$args['id']}`
            }
          };
        }

        // Run the navigation in the Angular zone
        this.zone.run(() => {
          this.router.navigateByUrl(internalPath, navigationExtras);
        });

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>