Posts by Antônio Filho • 1 point
1 post
-
0
votes0
answers7
viewsQ: How to capture the backbutton event on a PWA (Ionic5/Angular11/Capacitor) site by clicking the back button of an Android phone
I used the following code: import { Component, OnInit, OnDestroy, ViewChild } from '@angular/core'; import { Location } from '@angular/common'; import { Platform, AlertController, IonRouterOutlet }…