I have worked with a few apps before. In my experience, developing them is a mix between UX/UI design and game design.
My most important project in this field has been /de/monument/AR/, which is, precisely, an educational app that worked in tandom with a real outdoors exposition via AR and game elements.
The following are some important links: