admin管理员组文章数量:1356372
I developed a Flutter app, and in my main.dart, I added logic to detect and block:
Rooted devices
Developer options enabled
Emulator devices
If any of these are detected, the app prevents access (e.g., it won't run or shows a block screen).
After uploading the app to the Play Store and submitting it for review, it got rejected with this error message: "Username or password you provided didn't work"
I suspect this is because the Play Store reviewers may be testing the app in an emulator or on a rooted/test device, which my app is blocking.
My Questions: Is blocking emulators, rooted devices, or developer options a valid reason for Google to reject the app?
If I need to block these for security reasons, what is the best way to implement it so it doesn't interfere with the Play Store review process?
Is there a way to allow certain test environments (e.g., Google Play review) to bypass these checks safely?
Some apps (like banking apps) don't run on emulators or rooted devices, so I'm wondering how they handle this.
Any guidance or best practices would be really helpful!
本文标签:
版权声明:本文标题:android - Flutter app rejected on Play Store: Could blocking rootemulatordeveloper options be the reason? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743994353a2572716.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论