Mobile VPN app for Mysterium Network.
<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" alt="Get it on F-Droid" height="80"> <img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" alt="Get it on Google Play" height="80">
brew install --cask android-studio
google-services.json
from https://console.firebase.google.com/u/1/project/mysterium-vpn/overview and place it in android/app
Build Mysterium Node from source code:
util_scripts/build-node.sh
Uncomment local dependency in android/app/build.gradle
:
//implementation 'network.mysterium:mobile-node:0.8.1'
implementation files('libs/Mysterium.aar')
Install Fastlane (if don't have it yet)
brew install fastlane
Make release build:
source fastlane/.env.local && fastlane android build
APK will be available under android/app/build/outputs/apk/release/app-release.apk
You can install this APK by:
adb install android/app/build/outputs/apk/release/app-release.apk
Get google-services.json
:
google-services.json
android/app/google-services.json
Create signing key:
keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000
More info: https://facebook.github.io/react-native/docs/signed-apk-android#generating-a-signing-key
Setup values in environment:
cp fastlane/.env.local.dist fastlane/.env.local
vim fastlane/.env.local
Setup Fastlane, more info in fastlane/README.md
Public releases are promoted and managed from the Google Play Console.
Repository contains Dockerfile which includes OpenJDK and Fastlane to build, test and publish Android from Docker.
TAG=1.0.0
docker build -t mysteriumnetwork/mobile-ci:$TAG .
docker push mysteriumnetwork/mobile-ci:$TAG