expo-adi-registration
v1.0.0
Published
Expo config plugin to register Android package ownership on Google Play Console
Maintainers
Readme
expo-adi-registration
An Expo config plugin that copies adi-registration.properties into the native Android assets directory for Google Play Console package ownership verification.
The Problem
Google Play Console requires a signed APK containing adi-registration.properties in the native Android assets directory. Expo's JavaScript asset bundling does not place files there automatically — this plugin does it for you.
Installation
npm install expo-adi-registrationUsage
You have two ways to use this plugin:
Option A — Pass the token directly in app.config.js (recommended)
export default {
expo: {
plugins: [
["expo-adi-registration", { "token": "YOUR_TOKEN_FROM_GOOGLE_PLAY_CONSOLE" }]
]
}
}Option B — Place the file in your assets/ folder
- Create a file named
adi-registration.propertiesinside your project'sassets/folder - Paste your token snippet from Google Play Console inside the file
- Add the plugin to your
app.config.js:
export default {
expo: {
plugins: [
"expo-adi-registration"
]
}
}Build
After adding the plugin, build a release APK using EAS:
eas build -p android --profile previewThen upload the generated .apk to Google Play Console to complete ownership verification.
How It Works
The plugin runs during the EAS build process and copies adi-registration.properties into:
android/app/src/main/assets/adi-registration.propertiesThis is the native Android assets path that Google Play Console checks when verifying package ownership.
Requirements
- Expo SDK 49 or higher
- EAS Build
License
MIT
