On Android, when you’re on your home/default app screen, you may want to exit the app when you hit the device’s back button.

Here’s a snippet to add to your theme’s functions.js that allows to do that:

 

Published by Mathieu on March 29, 2018

Freelance Senior Web Developer, WordPress since 2009, JS/Backbone since 2012, Custom Back-End devs, WebApps and Plugins for clients and the community.

Leave a Reply

Your email address will not be published. Required fields are marked *

Having questions?

FAQ | Tutorials | Documentation

Or

Contact Us