Related Applications
Overview
Configuration
Basic Related Applications
pwa:
manifest:
prefer_related_applications: false # Don't prefer native apps
related_applications:
- platform: "play"
url: "https://play.google.com/store/apps/details?id=com.example.app"
id: "com.example.app"Prefer Native Applications
Multiple Platforms
Properties
prefer_related_applications
Value
Behavior
platform
Supported Platforms
play (Google Play Store)
itunes (Apple App Store)
windows (Microsoft Store)
chrome_web_store (Chrome Web Store)
chromeos_play (Chrome OS Play Store)
webapp (Web Apps)
f-droid (F-Droid)
amazon (Amazon Appstore)
Complete Examples
Example 1: Social Media App
Example 2: Game
Example 3: Productivity Tool
Example 4: PWA-Only with Web App Link
Browser Support
Browser
Support
Behavior
User Experience Flow
When prefer_related_applications = false
When prefer_related_applications = true
Testing
1. Check Manifest
2. Test on Android Chrome
3. Verify Store Links
4. DevTools Inspection
Best Practices
1. Keep URLs Updated
2. Include App IDs
3. List Active Platforms Only
4. Use prefer_related_applications Sparingly
5. Provide Fallback
Decision Tree
Common Mistakes
1. Wrong ID Format
2. Missing Platform
3. Prefer Without Related Apps
4. Outdated URLs
Troubleshooting
Native App Banner Not Showing
Wrong App Suggested
PWA Install Blocked
Related Documentation
Resources
Last updated
Was this helpful?