Skip to content

Latest commit

 

History

History
250 lines (185 loc) · 7.23 KB

File metadata and controls

250 lines (185 loc) · 7.23 KB

Google Play Compliance Fix - ReshmeInfo

Issues Identified by Google Play

1. ❌ Missing Prominent Disclosure for BACKGROUND_LOCATION

Issue: App accesses BACKGROUND_LOCATION permission without prominent disclosure

2. ❌ Invalid Privacy Policy

Issue: Privacy Policy link does not lead to the Privacy Policy page


✅ Solutions Implemented

1. Prominent Location Disclosure Dialog

Created Files:

  • components/LocationPermissionDisclosure.tsx - Full-screen disclosure modal
  • Updated screens/InfoScreen.tsx - Shows disclosure before requesting permission
  • Updated locales/en.json - English translations
  • Updated locales/kn.json - Kannada translations

How It Works:

  1. When user first accesses weather features, a prominent disclosure dialog appears
  2. Dialog explains:
    • Why location is needed (weather-based care suggestions)
    • What background location is used for (weather notifications)
    • Privacy guarantees (no sharing with third parties)
    • User's control (can disable anytime)
  3. Only after user clicks "Allow Location Access" does the system permission request appear
  4. Dialog is shown only once and stored in AsyncStorage

Key Features:

  • ✅ Large, clear modal that must be dismissed
  • ✅ Explains background location access prominently
  • ✅ Link to privacy policy
  • ✅ Bilingual support (English/Kannada)
  • ✅ User can decline without dismissing app

2. Privacy Policy - Fixed and Enhanced

Updated Privacy Policy:

Changes Made:

  1. Added Prominent Disclosure Section at top of policy:

    • ⚠️ Yellow highlighted box
    • Explains background location access
    • Lists specific use cases
    • Clear user control instructions
  2. Comprehensive Sections:

    • Information We Collect
    • Location Data (foreground & background)
    • Third-Party Services (AdMob, Firebase)
    • User Rights and Controls
    • Contact Information
  3. Mobile-Responsive Design:

    • Clean, professional layout
    • Easy to read on all devices
    • Accessible from homepage

📋 Steps to Submit to Google Play

Step 1: Update Privacy Policy in Play Console

  1. Go to Google Play Console
  2. Select your app: Reshme Info (com.master.reshmeinfo)
  3. Navigate to: Policy > App content > Privacy policy
  4. Enter the privacy policy URL:
    https://reshmeinfo.web.app/privacy-policy.html
    
  5. Click Save

Step 2: Build New APK with Disclosure

The disclosure is now implemented in the code. Build a new APK:

# Build production APK with EAS
eas build --platform android --profile production

# OR build locally
npx expo run:android --variant release

Step 3: Upload New Build to Play Console

  1. Go to Production > Releases
  2. Create new release
  3. Upload the new APK
  4. In the release notes, mention:
    Fixed:
    - Added prominent disclosure for background location permission
    - Updated privacy policy with background location explanation
    - Enhanced permission request flow
    

Step 4: Submit for Review

  1. Click Review release
  2. Confirm all details
  3. Click Start rollout to Production

🎯 What Google Play Reviewers Will See

In-App Experience:

  1. User opens app and navigates to Info screen
  2. Before any location request, a full-screen disclosure appears:
    • Large title: "Location Permission Required"
    • Clear explanation of background location use
    • Prominent yellow box explaining background access
    • Privacy guarantee with shield icon
    • Two clear buttons: "Not Now" and "Allow Location Access"
  3. Only after clicking "Allow" does the system permission dialog appear

Privacy Policy:

  1. Accessible at https://reshmeinfo.web.app/privacy-policy.html
  2. Prominent yellow disclosure box at top explaining background location
  3. Detailed sections covering all data practices
  4. Professional, mobile-friendly design

📝 Testing Checklist

Before submitting, verify:

  • Privacy policy URL works: https://reshmeinfo.web.app/privacy-policy.html
  • Disclosure dialog appears before permission request
  • Dialog shows in both English and Kannada
  • "Not Now" button works and doesn't crash app
  • "Allow" button shows system permission dialog
  • Dialog doesn't appear again after first time
  • Privacy policy link in dialog opens browser
  • Background location section is visible in privacy policy

🔧 Technical Details

Permission Flow:

User Action → Check if disclosure shown
            ↓
            No → Show disclosure dialog
            ↓
            User clicks "Allow"
            ↓
            Save disclosure_shown flag
            ↓
            Request system location permission
            ↓
            Use location for weather features

Files Modified:

  1. components/LocationPermissionDisclosure.tsx (NEW)
  2. screens/InfoScreen.tsx (UPDATED)
  3. locales/en.json (UPDATED)
  4. locales/kn.json (UPDATED)
  5. public/privacy-policy.html (UPDATED)
  6. public/index.html (UPDATED - added privacy link)

AsyncStorage Keys Used:

  • location_disclosure_shown - Tracks if disclosure was shown to user

📞 Support Information

Privacy Policy Contact Info:


⚠️ Important Notes for Play Console

When filling out the Data Safety section in Play Console:

  1. Location Data:

    • ✅ Collected: Yes
    • ✅ Purpose: App functionality (weather-based suggestions)
    • ✅ Background collection: Yes (for weather notifications)
    • ✅ User can request deletion: Yes
    • ✅ Data shared: No
    • ✅ Data encrypted in transit: Yes
  2. Device or Other IDs:

    • ✅ For AdMob advertising
  3. Personal Info:

    • ✅ Admin credentials (for admin users only)

🎉 Expected Outcome

After implementing these fixes and submitting:

  1. Prominent Disclosure issue will be resolved ✅

    • Reviewers will see the disclosure dialog in app
    • Dialog appears before permission request
    • Background location use is clearly explained
  2. Invalid Privacy Policy issue will be resolved ✅

    • URL works and leads directly to policy
    • Policy is comprehensive and compliant
    • Background location is prominently disclosed
  3. App should be approved for production release 🚀


🆘 If Issues Persist

If Google Play still rejects:

  1. Check Screenshots: Google may need screenshots showing the disclosure
  2. Appeal Process: Use the appeal form if you believe it's compliant
  3. Contact Support: Use Play Console help to explain the implementation

📱 Screenshots for Play Console (If Needed)

Take screenshots of:

  1. The disclosure dialog showing background location explanation
  2. The privacy policy page with prominent disclosure
  3. The permission flow (disclosure → accept → system permission)

Submit these in the appeal if needed to show compliance.


Prepared on: November 14, 2025 Privacy Policy URL: https://reshmeinfo.web.app/privacy-policy.html App Version: 1.0.0 (update with your new version number)