Store Approval Issues
Google Play Store Approval Guide
When submitting browser extensions to the Google Play Store, you may encounter specific restrictions that can lead to rejection. This guide covers common issues and their solutions.
Remote Code Loading in Manifest V3
The Issue
Google Play Store prohibits Manifest V3 extensions from loading remotely hosted code. A common violation occurs when your extension bundle includes code that loads external scripts, such as the AppleID script from https://appleid.cdn-apple.com/
.
Solution: Replacing Remote Loaders
To resolve this issue, you can configure your bundler to replace remote script loaders with local dummy files. We provide solutions for both Vite and Webpack bundlers.
Step 1: Create a dummy loader file
First, create a dummy loader file that will replace the remote script loader:
Step 2: Configure your bundler
Option 1: Using Vite
Configure Vite to alias the remote loader to your dummy file:
For a complete Vite implementation example, check out our Vite reference implementation.
Option 2: Using Webpack
Configure Webpack to alias the remote loader to your dummy file:
For a complete Webpack implementation example, check out our Webpack reference implementation.