supportingami / sami-maths-club

A collection of resources for extra-curricular maths clubs. Available for Android, IOS and Web
https://mathsclub.samicharity.co.uk
GNU General Public License v3.0
4 stars 1 forks source link

Back button should minimise app when pressed on home page #71

Open chrismclarke opened 4 years ago

chrismclarke commented 4 years ago

Currently whilst pressing the back button on the home page nothing happens. Ideally it should close/minimise the app.

Could possibly be done via https://ionicframework.com/docs/native/app-minimize, and registering back button (https://capacitorjs.com/docs/apis/app). Will also need to make sure it is not every press, only when pressed from home screen.

Here's an issue on github where people mention it, I'm not sure if there might be other better solutions since then: https://github.com/ionic-team/capacitor/issues/1933