Welcome to the phoenix-android repository. This repository contains the source code and configuration files necessary to build and deploy the Phoenix Code trusted web app for Android devices, focusing exclusively on ChromeOS support.
Before you begin, ensure the following tools are installed:
- Node.js (v20 or higher)
- npm (typically installed with Node.js)
- Java Development Kit (JDK) 8 or newer
- Android SDK
- Bubblewrap CLI
Install Bubblewrap using npm:
npm install -g @bubblewrap/cli
First, clone the repository to your local machine:
git clone https://github.com/yourusername/phoenix-android.git
cd phoenix-android
To build the Trusted Web Activity (TWA) APK using Bubblewrap with the existing twa-manifest.json
configuration, ensure the twa-manifest.json
includes the correct signing key information:
"signingKey": {
"path": "/home/charly/repo/phoenix-andriod-prod/android.keystore",
"alias": "android"
}
Then run the following command:
bubblewrap build
This will generate an APK file ready for uploading to the Google Play Store.
It’s crucial to test your APK before submission:
- Install the APK on a ChromeOS device or an Android emulator.
- Verify that the app opens and renders the web content correctly.
- Check all functionalities to ensure they perform as expected.
After satisfactory testing:
- Prepare promotional materials and screenshots as required by the Google Play Store.
- Submit your APK via the Google Play Console.
- Monitor the publication status and address any issues flagged by the Play Store.
Contributions are welcome! For guidelines on how to contribute effectively, please refer to the CONTRIBUTING.md file.
This project is licensed under the MIT License - see the LICENSE file for details.