Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48979

App crash but console show nothing

$
0
0

I have an ionic angular app with cordova.

My app is crashing (it opens a page but i cant click anything) when I logout and router navigate to /login page.

I tried disabling auth guard but that is not the problem because sill happen without it.

If I navigate to login page without loggin out it works okey…

Any clue?

async logout() {
      this._sm.add(
        this.logoutRequest.send((await this._authService.logoutUser([])), {
          success: (data) => {
            console.log(data);
            this._router.navigate(['auth/login']);
          },
          error: (err) => {
            console.log(err)
          }
        })
      );
  }

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 48979

Trending Articles



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