最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android - Flutter app rejected on Play Store: Could blocking rootemulatordeveloper options be the reason? - Stack Overflow

programmeradmin2浏览0评论

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!

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论