This repository provides a simple way to convert Web4 networks into an Android WebView app. Use this template to deploy your Web4 network in a fully functional mobile app.
Clone the repository to your local directory:
git clone https://github.com/Web4-Organisation/Web4-Web2App.git
cd Web4-Web2App
Edit the file app/src/main/res/values/strings.xml
to configure the app name and URL of your Web4 network:
<resources>
<string name="app_name">Web4</string>
<string name="web_url">https://linkspreed.club</string>
</resources>
Replace the web_url
value with the URL of your Web4 network and customize the app_name
to fit your branding.
Once you've made the adjustments, build the APK using Gradle:
./gradlew assembleDebug
The APK will be created in the app/build/outputs/apk/debug/
directory.
- WebView App: This template uses WebView to load your Web4 network, ensuring a seamless experience for your users.