Here is my template app from the community call on 17/7/2019.
The only thing you need to do is to put your app id in the marked space in the onvisible of the template.
I would then copy that function to the landing page of the app.
Thank you Keith! Very kind of you to share!
Outstanding.