To enable automatic APK downloads on your landing page:
- Place your APK file in this folder (
/assets/) with the nameRedSync-PH.apk - Alternative naming options:
redsync-ph.apkRedSync.apk- Or update the filename in
script.jsline 54
- If APK file is present: Direct download will start when users click "Download APK"
- If APK file is missing: A contact modal will appear with instructions to request the APK
Edit the script.js file and modify line 54:
const apkUrl = './assets/YOUR-APK-FILENAME.apk';- Format:
.apkfile - Target: Android devices (API level 23+)
- Size: Recommended under 50MB for better download experience
- Signing: Ensure the APK is properly signed
- Place your APK file in this folder
- Open the landing page in a browser
- Click the "Download APK" button
- Verify the download starts automatically
- Only host verified and signed APK files
- Consider using a CDN for larger files
- Implement virus scanning for uploaded APKs
- Keep APK files updated with latest app versions
If you prefer not to host the APK directly:
- Use Google Drive, Dropbox, or similar cloud storage
- Update the
apkUrlvariable to point to the external URL - Ensure the external URL allows direct downloads
Update the contact information in the modal by modifying the showDownloadInstructions() function in script.js.