Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71389

Why doesn't android back button work by default?

$
0
0

ChatGPT just told me about all of these “gotchas” to do with using Ionic Framework and Capacitor on Android:

3. Common mistakes

Mistake Result
Only using Ionic’s ion-router-outletnavigation Back button doesn’t trigger Ionic navigation
Not subscribing to App.addListener('backButton') WebView never sees Android back event
Forgetting App.exitApp() App freezes on root page

Is this actually accurate?

It’s very surprising to me that neither ion-router-outlet nor capacitor capture the back button by default by themselves. Why was that decision made?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 71389

Latest Images

Trending Articles



Latest Images

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