-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
ionitron: needs reproductiona code reproduction is needed from the issue authora code reproduction is needed from the issue author
Description
Bug Report
Ionic version:
[x] 5.5.2
Current behavior:
The back button fires multiple times.
Expected behavior:
It should only fire once.
Steps to reproduce:
In app.components.ts put the back button code in the constructor.
this.platform.backButton.subscribe((clicked) => {
console.log("back clicked", clicked);
});
Ionic info:
Ionic:
Ionic CLI : 6.12.2 (C:\Users\noman.shah\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 5.5.2
[native-run] Installing platforms\android\app\build\outputs\apk\debug\app-debug.apk...
[native-run] Starting application activity com.linkdesign.linkeazy/com.linkdesign.linkeazy.MainActivity...
[native-run] Run Successful
PS C:\Users\noman.shah\Documents\LinkEazy\Nomi\LinkEazy> ionic info
Ionic:
Ionic CLI : 6.12.2 (C:\Users\username\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 5.5.2
@angular-devkit/build-angular : 0.1002.0
@angular-devkit/schematics : 10.0.8
@angular/cli : 10.0.8
@ionic/angular-toolkit : 2.3.3
Cordova:
Cordova CLI : 10.0.0
Cordova Platforms : 6.0.0, android 8.1.0, browser
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 6 other plugins)
Utility:
cordova-res : not installed
native-run (update available: 1.3.0) : 0.2.7
System:
NodeJS : v10.15.2 (C:\Program Files\nodejs\node.exe)
npm : 4.6.1
OS : Windows 10```
Metadata
Metadata
Assignees
Labels
ionitron: needs reproductiona code reproduction is needed from the issue authora code reproduction is needed from the issue author