Hello Emily,
the original question was about changing the app's code to show the logout option in all the pages in the app. This cannot be done in the official Moodle Mobile app, you need to create your own custom app and change the setting I said in core/components/sidemenu/templates/menu.html.
Kind regards,
Dani