App crash but console show nothing

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)
          }
        })
      );
  }

Open chrome inspector before logging in, it must be showing some type of error.

It shows nothing… neither in android studio when I run app debug in virtual device.

I suggest you follow Ionic debug documentation to familiarize yourself. Other than that theres not much we can do. Good luck!