You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.3 KiB
3.3 KiB
HikeMap APK Build Instructions
Your HikeMap PWA is ready to be converted to an APK! Here are three methods to create an installable Android app:
Method 1: Online Converter (Easiest - No coding required)
Using PWA2APK.com:
- Visit https://pwa2apk.com
- Enter your app URL:
https://maps.bibbit.duckdns.org - Click "Start"
- Fill in the form:
- App Name: HikeMap Trail Navigator
- Short Name: HikeMap
- Package ID: org.duckdns.bibbit.hikemap
- Click "Generate APK"
- Download the APK file
- Share with users - they can install directly!
Using PWABuilder.com (Microsoft's Tool):
- Visit https://www.pwabuilder.com
- Enter URL:
https://maps.bibbit.duckdns.org - Click "Start"
- Review the PWA score (should be high!)
- Click "Package for stores"
- Select "Android"
- Download the APK package
Method 2: Using Bubblewrap (Advanced - Full control)
If you want to build locally with full customization:
# Install required tools
sudo apt-get install openjdk-11-jdk android-sdk
# Install Bubblewrap globally
npm install -g @bubblewrap/cli
# Initialize your TWA project
bubblewrap init --manifest="https://maps.bibbit.duckdns.org/manifest.json"
# Build the APK
bubblewrap build
# The APK will be in: app-release-signed.apk
Method 3: Android Studio (Most Control)
- Download Android Studio
- Create new project → "Empty Activity"
- Add TWA (Trusted Web Activity) support
- Configure
AndroidManifest.xmlwith your URL - Build → Generate Signed Bundle/APK
APK Features
Your generated APK will have:
- ✅ Full offline support (Service Worker caching)
- ✅ Push notifications
- ✅ GPS location access
- ✅ Camera access (for future features)
- ✅ Install to home screen
- ✅ Runs in fullscreen (no browser UI)
- ✅ Auto-updates from your server
Sharing the APK
Once you have the APK file:
- Direct Install: Users enable "Install from unknown sources" in Android settings
- Email/Message: Send the APK file directly
- Download Link: Host on your server at
https://maps.bibbit.duckdns.org/hikemap.apk - QR Code: Generate QR code linking to the APK
Google Play Store (Optional)
To publish on Play Store:
- Create Google Play Developer account ($25 one-time fee)
- Use the AAB (Android App Bundle) format instead of APK
- Add the assetlinks.json file to your server
- Submit for review
Testing the APK
Before sharing:
- Test on multiple Android versions (7.0+)
- Verify GPS works properly
- Test push notifications
- Check offline functionality
- Ensure all icons display correctly
Current Configuration
Your app is configured with:
- Package ID:
org.duckdns.bibbit.hikemap - Version: 1.0.0
- Min Android: 7.0 (API 24)
- Target Android: Latest
- Orientation: Portrait
- Theme Color: #4CAF50
Troubleshooting
"App not installed" error:
- Enable "Install unknown apps" for your browser
- Uninstall any previous version first
Notifications not working:
- Ensure HTTPS is working
- Check notification permissions in Android settings
GPS not working:
- Grant location permission when prompted
- Check location services are enabled
Quick Start (Recommended)
For fastest results, use PWA2APK.com - it takes about 2 minutes and produces a ready-to-share APK file that your users can install immediately!