r/FlutterDev • u/ug00gu • 9h ago
Discussion Play rejected our update because a card hid itself after the user granted a Health Connect permission
We read one health metric from Health Connect and show it in a single card. If the user granted permission but had no readings yet, we hid the card. It seemed tidy: nothing to show, so show nothing.
Play rejected the update. From the reviewer's side, they granted the permission and then nothing on screen used it, so the app looked like it was asking for health data it didn't need.
The fix was a boring empty state. The card now stays after permission is granted and says there are no readings yet. It went through after that.
Two things I took from it. Every health permission needs a visible feature a reviewer can find in a minute, even on an account with zero data. And "hide when empty" is a bad default for anything that sits behind a permission.
Has anyone else been caught in review by something that only happens on an empty account? Curious what other empty-state traps are out there.