The QR scanner will only work if you are serving the application over HTTPS. In your comment you mentioned it is being served using an HTTP URL so it will trigger a security alert on the phone.
The solution is to deploy it up to an environment that serves it’s content over HTTPS such as the Mendix Cloud, or to install a local proxy that can serve the application content from your local machine over HTTPS.