Repository navigation
|
My app was flagged or rejected on Google Play for this. Font scaling disabled due to dp text sizing. Which guideline is this, how do I find it in my project, and how do I fix it before I resubmit? |
Replies: 1 comment
|
Guideline. User Experience - Accessibility (Google Play) Severity in the playbook. medium What triggers it. Hardcoded text sizes specified in dp instead of sp in Android XML layouts or Jetpack Compose files. What to search your code for. How to fix it. Always define text sizes in sp (scale-independent pixels) rather than dp to allow the system font scaling to work correctly. The guard reports this as This is a maintainer FAQ for app-store-compliance, an open playbook and pre-submission guard for App Store and Google Play review. Run |
Guideline. User Experience - Accessibility (Google Play)
Severity in the playbook. medium
What triggers it. Hardcoded text sizes specified in dp instead of sp in Android XML layouts or Jetpack Compose files.
What to search your code for.
textSize,dpHow to fix it. Always define text sizes in sp (scale-independent pixels) rather than dp to allow the system font scaling to work correctly.
The guard reports this as
ANDROID-ACCESSIBILITY-FONTSCALING. The full pattern is in data/rejection-patterns.json.This is a maintainer FAQ for app-store-compliance, an open playbook and pre-submission guard for App Store and Google Play review. Run
bash scripts/install.sh install, then run the guard on y…