Appraysal
Back to Rules
WARNINGAdvisoryGuideline 3.1.2Google PlayiOS & AndroidBusiness

Account Required Before IAP Browsing

Users must be able to browse in-app purchases without creating an account first. Requiring login before showing subscription options or IAP content violates App Store guidelines.

Quick Fix

Allow users to browse IAP options before requiring account creation. Move login requirement to the purchase confirmation step, not the browsing step.

What Gets Detected

Detection Type:CODE PATTERN
Patterns detected:
/\b(if|guard|when)\b[\s\S]{0,120}(?:!\s*(?:isLoggedIn|authenticated)|(?:isLoggedIn|authenticated|currentUser|userSession)\s*==\s*null|requiresAuth|authRequired|loginRequired)\b/i/\b(authRequired|requiredAuth|requiresLogin|loginRequired)\b/i/\b(auth gate|authentication required|login first|sign in first)\b/i/\b(navigate|router\.push|navigation\.navigate|startActivity)\b[\s\S]{0,120}\b(login|sign\s?in|auth)\b/i/\b(redirectToLogin|showLogin|presentLogin|requireAuthentication)\b/i/\b(ProtectedRoute|AuthGuard|requiresAuthentication|mustLogin|gateAccess)\b/i/\b(router\.(?:replace|push)|navigation\.(?:replace|navigate)|Navigate\s+to=)\b[\s\S]{0,120}\b\/?(login|signin|auth)\b/i

Check Your App

Scan your project to see if this rule affects your app

Run Free Scan