darkfi a1a32db8d8 app/android: add a ForegroundService so the app stays awake and doesn't get killed when in the background (disconnecting the p2p network) 1 rok temu
..
assets 2b49de9bcf rename bin/darkwallet/ to bin/app/ 1 rok temu
bin 604f443fd1 chore: Update license header year 1 rok temu
data 1a232e67ad chore: Fix python scripts shebang 1 rok temu
gui e79ccad144 app: restore back the main app schema 1 rok temu
java a1a32db8d8 app/android: add a ForegroundService so the app stays awake and doesn't get killed when in the background (disconnecting the p2p network) 1 rok temu
pydrk 345f9cbb2b app: settings manager wip 1 rok temu
release bc74f89d56 doc: p2p resource manager/metric channel scoring explanation 1 rok temu
src d3238da4c3 app: add focus/unfocus text area when moving between different chats :) 1 rok temu
.gitignore 42cfd88de3 bin/app/Makefile: updated .gitignore 1 rok temu
Cargo.lock c4f3b4eb11 chore: updated sled-overlay to new version 1 rok temu
Cargo.toml a1a32db8d8 app/android: add a ForegroundService so the app stays awake and doesn't get killed when in the background (disconnecting the p2p network) 1 rok temu
Dockerfile a1a32db8d8 app/android: add a ForegroundService so the app stays awake and doesn't get killed when in the background (disconnecting the p2p network) 1 rok temu
Makefile a1a32db8d8 app/android: add a ForegroundService so the app stays awake and doesn't get killed when in the background (disconnecting the p2p network) 1 rok temu
README.md 2b49de9bcf rename bin/darkwallet/ to bin/app/ 1 rok temu
build.rs 604f443fd1 chore: Update license header year 1 rok temu
echo.py 1a232e67ad chore: Fix python scripts shebang 1 rok temu
quad.toml a1a32db8d8 app/android: add a ForegroundService so the app stays awake and doesn't get killed when in the background (disconnecting the p2p network) 1 rok temu
rust-toolchain.toml 33d18f11dd app: migrate from nightly to stable toolchain 1 rok temu

README.md

Unix (Linux/Mac)

Install rustup and cargo install cargo-limit, then run:

make

Windows

Install rustup and follow the instructions.

If you get the error "VCRUNTIME140.dll was not found", then install Microsoft Visual C++ Redistributable.

Android

Make sure you have podman installed. Then run:

# You only need to build the container once
podman build -t apk .

make android

To debug any issues, you can enter an interactive terminal using make cli.

To delete everything, run podman system reset.

Useful Dev Commands

This is just for devs. Users ignore this.

Debugging Missing Symbols

"hb_ft_font_create_referenced"

nm libharfbuzz_rs-5d6b743170eb0207.rlib | grep hb_ | less

Resolve Dependency Issues

cargo tree --target aarch64-linux-android --invert openssl-sys

Examine the APK

apktool d target/android-artifacts/release/apk/darkwallet.apk -o dw-apk