Skip to content

Commit

Permalink
Evonet: Add mobile devnet build instructions (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
HashEngineering authored Jun 1, 2020
1 parent aab3e2e commit 2c1203c
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Welcome to _Dash Wallet_, a standalone Dash payment app for your Android device!
This project contains several sub-projects:

* __wallet__:
The Android app itself. This is probably what you're searching for.
The Android app itself. This is probably what you're searching for. [wallet README](wallet/README.md)
* __common__:
Contains common components used by integrations.
* __uphold-integration__
Expand Down
53 changes: 52 additions & 1 deletion wallet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The app can send extensive debug information. Use **Options > Settings > Report
In the generated e-mail, replace the support address with yours.


### BUILDING THE DEVELOPMENT VERSION
### BUILDING THE DEVELOPMENT VERSION (TESTNET)

It's important to know that the development version uses Testnet, is debuggable and the wallet file
is world readable/writeable. The goal is to be able to debug easily.
Expand Down Expand Up @@ -100,6 +100,55 @@ If installation fails, make sure "Developer options" and "USB debugging" are ena
connection is established.


### BUILDING THE DEVNET VERSION (MOBILE)

It's important to know that this development version uses Mobile Devnet, is debuggable and the wallet file
is world readable/writeable. The goal is to be able to debug easily.

The `mobile` flavor builds for the Mobile Devnet.

# first time only
git clone -b evonet-develop https://github.com/dashevo/dash-wallet.git dash-wallet
cd dash-wallet
git pull
git submodule init
git submodule update
cd ..

git clone -b master https://github.com/dashevo/android-dpp.git android-dpp
cd android-dpp
gradlew build
cd ..

git clone -b master https://github.com/dashevo/dapi-client-android dapi-client-android
cd dapi-client-android
gradlew build
cd ..

git clone -b master https://github.com/dashevo/android-dashpay.git android-dashpay
cd android-dashpay
gradlew build
cd ..

# optional
git clone -b evonet https://github.com/dashevo/dashj.git dashj
cd dashj
mvn clean install -DskipTests
cd ..

# each time or build in Android Studio
cd dash-wallet
git pull
gradle clean assembleMobileDebug -x test

To install the app on your Android device, use:

# first time only
sudo apt install android-tools-adb

# each time
adb install wallet/build/outputs/apk/dash-wallet-mobile-debug.apk


### BUILDING THE PRODUCTION VERSION

Expand Down Expand Up @@ -135,6 +184,8 @@ All flavors (debug and release) will be at: wallet/build/outputs/apk
### SETTING UP FOR DEVELOPMENT

You should be able to import the project into Android Studio, as it uses Gradle for building.
* Set the build variant on the wallet module to the required flavor (mobileDebug for mobile devnet)
* From Tools | SDK Manager, select Android SDK Build Tools version 28 and NDK (side by side) version 16 or above


### TRANSLATIONS
Expand Down

0 comments on commit 2c1203c

Please sign in to comment.