Skip to content

Commit 89371a2

Browse files
committed
Apollo: Release source code for 55.0 (1500)
1 parent e816cd6 commit 89371a2

2,076 files changed

Lines changed: 44914 additions & 7544 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

BUILD.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@
55
* [OpenJDK](https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot) >= 8
66
* [Golang](https://golang.org/dl/) >= 1.16
77
* [Android NDK](https://developer.android.com/ndk/downloads) >= 21
8+
* [Docker](https://docs.docker.com/engine/install/) >= 28
89

910
### Instructions
1011

1112
1. Ensure the environment variable `ANDROID_NDK_HOME` points to your NDK installation directory.
12-
2. Run:
13+
2. Make sure docker is up and running
14+
3. Run:
1315
```shell
16+
libwallet/librs/makelibs.sh
1417
tools/bootstrap-gomobile.sh
1518
tools/libwallet-android.sh
1619
./gradlew :android:apolloui:assembleProdRelease

android/.dockeringnore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Ignore all
2+
**
3+
4+
# ⚠️ whitelist only necessary things
5+
!android/
6+
!tools/
7+
!libwallet/
8+
!prover/

android/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@ follow [https://changelog.md/](https://changelog.md/) guidelines.
66

77
## [Unreleased]
88

9+
## [55.0] - 2025-08-07
10+
11+
### CHANGED
12+
13+
- `nightMode` migrated from shared preferences
14+
15+
### ADDED
16+
17+
- Edge to edge support
18+
19+
### FIXED
20+
21+
- Reproducible builds
22+
- Reproducible builds context
23+
- Effective fees sync in background removed
24+
- Dns resolution fix for android 15
25+
- Api 19 drawable missing crash
26+
927
## [53.5] - 2025-06-27
1028

1129
### FIXED

android/Dockerfile

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 openjdk:17-jdk-buster@sha256:9217da81dcff19e60861791511ce57c019e47eaf5ca40dc73defe454ba7ea320 AS muun_android_builder
1+
FROM --platform=linux/amd64 openjdk:17-jdk-slim@sha256:aaa3b3cb27e3e520b8f116863d0580c438ed55ecfa0bc126b41f68c3f62f9774 AS muun_android_builder
22

33
ENV NDK_VERSION 22.0.7026061
44
ENV ANDROID_PLATFORM_VERSION 28
@@ -56,13 +56,33 @@ RUN sdkmanager --install "ndk;${NDK_VERSION}"
5656

5757
ENV ANDROID_NDK_HOME ${ANDROID_HOME}/ndk/${NDK_VERSION}
5858

59+
FROM rust:1.84 AS rust_builder
60+
61+
ARG RUSTUP_TOOLCHAIN=nightly-2024-12-16
62+
ARG TARGETS="aarch64-unknown-linux-musl x86_64-unknown-linux-musl aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android"
63+
64+
RUN rustup toolchain install ${RUSTUP_TOOLCHAIN} \
65+
&& rustup override set ${RUSTUP_TOOLCHAIN} \
66+
&& rustup target add --toolchain ${RUSTUP_TOOLCHAIN} $TARGETS \
67+
&& rustup component add clippy \
68+
&& rustup component add rustfmt
69+
70+
FROM rust_builder AS librs_build
71+
72+
WORKDIR /src
73+
COPY . /src
74+
75+
RUN TARGETS="$TARGETS" USE_HOST_CARGO=true libwallet/librs/makelibs.sh
76+
5977
FROM muun_android_builder AS build
6078

6179
WORKDIR /src
6280
COPY . /src
81+
COPY --from=librs_build /src/libwallet/librs/libs /src/libwallet/librs/libs
82+
6383
RUN tools/bootstrap-gomobile.sh \
6484
&& (cd libwallet; go clean) \
65-
&& ./gradlew :android:apollo:clean :android:apolloui:clean \
85+
&& ./gradlew :android:apolloui:clean \
6686
&& ./gradlew :android:libwallet:build :android:apolloui:assembleProdRelease
6787

6888
FROM scratch

android/apollo/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

android/apollo/build.gradle

Lines changed: 0 additions & 182 deletions
This file was deleted.

0 commit comments

Comments
 (0)