Reputation: 49
I updated to Capacitor 3.0.1 with angular, but everytime I press hardware back button it closes the entire app... I expect the older behavior, close push page, etc. what can I do?
Upvotes: 4
Views: 2317
Reputation: 53301
Install @capacitor/app plugin
https://capacitorjs.com/docs/apis/app
I recommend reading the upgrade guide, it’s mentioned there https://capacitorjs.com/docs/updating/3-0
Upvotes: 3