Bug Report
Problem
Back button event not triggered on some devices. We're testing the update for cordova-android 15 and we noticed on some devices with recent version of the OS (>=15) the backbutton is not triggered.
We were only able to fix this for all devices by changing the AndroidManifest.xml with:
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge"
target="/manifest/application">
<application android:enableOnBackInvokedCallback="false" />
</edit-config>
What is expected to happen?
The eventListener for backbutton should be triggered
What does actually happen?
The eventListener for backbutton is not triggered
Information
Command or Code
Environment, Platform, Device
Version information
Checklist
Bug Report
Problem
Back button event not triggered on some devices. We're testing the update for
cordova-android 15and we noticed on some devices with recent version of the OS (>=15) thebackbuttonis not triggered.We were only able to fix this for all devices by changing the AndroidManifest.xml with:
What is expected to happen?
The eventListener for backbutton should be triggered
What does actually happen?
The eventListener for backbutton is not triggered
Information
Command or Code
Environment, Platform, Device
Version information
Checklist