Overview
This guide covers building release APKs and deploying the DPM Delivery Mobile app to the Google Play Store.Prerequisites
- Android Studio installed
- JDK 11 or higher
- Android SDK with build tools
- Keystore file for signing (for production builds)
Build Configuration
Package Information
- Package Name:
com.felixasante.dpmparceldeliveryapp - App Name: dpm-parcel-delivery-app
- Version: 1.0.0
Adaptive Icon Configuration
The app uses adaptive icons with the following configuration:Permissions
The app requires the following permissions:android.permission.RECORD_AUDIO
Building Release APK
Generate Release APK
Use the npm script to build a release APK:View Generated APK
To open the output directory:Gradle Configuration
Build Variants
The project uses Gradle for building. Key build configurations:- New Architecture: Enabled (
newArchEnabled: true) - Edge-to-Edge: Enabled for modern UI experience
- Predictive Back Gesture: Disabled
Build Types
Debug Build:Code Signing Setup
Generate Keystore
Create a keystore for signing your release builds:Configure Signing in Gradle
Editandroid/app/build.gradle to add signing configuration:
Store Credentials Securely
Createandroid/gradle.properties (add to .gitignore):
Google Play Store Deployment
Prepare for Submission
-
Create App Listing
- Go to Google Play Console
- Create a new application
- Use package name:
com.felixasante.dpmparceldeliveryapp
-
App Information
- App name: DPM Parcel Delivery
- Short description and full description
- Screenshots (phone and tablet)
- Feature graphic (1024 x 500)
- App icon (512 x 512)
-
Content Rating
- Complete the content rating questionnaire
- Get your app rated for all territories
-
Pricing & Distribution
- Set pricing (free/paid)
- Select countries for distribution
- Review content guidelines
Upload Release
-
Create Release
- Navigate to Production > Releases
- Create new release
- Upload the signed APK or AAB
-
Release Notes
- Add release notes for this version
- Support multiple languages if needed
-
Review and Rollout
- Review all information
- Submit for review
- Roll out to production once approved
Build Android App Bundle (Recommended)
Google Play prefers AAB format:Testing
Internal Testing
- Create an internal testing track in Play Console
- Upload your APK/AAB
- Add internal testers (email addresses)
- Share the opt-in link with testers
Closed Testing
- Create a closed testing track
- Define tester lists or use Google Groups
- Roll out to closed testers for feedback
Open Testing
Make your app available to open testers before production release.Troubleshooting
Build Fails
Clean and rebuild:Signing Issues
- Verify keystore path in
gradle.properties - Ensure passwords are correct
- Check keystore validity:
keytool -list -v -keystore dpm-delivery.keystore
Upload Errors
- Ensure version code is incremented in
android/app/build.gradle - Verify package name matches Play Console
- Check minimum SDK version meets Play Store requirements
Continuous Integration
GitHub Actions Example
Next Steps
- Set up automated build pipelines
- Configure Play Store listing
- Implement app signing by Google Play
- Set up release tracks (alpha, beta, production)
- Monitor crash reports via Play Console