notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit e2b3004cb4dd2dd9ef078a223528408038a36903
parent ad8acf47c535ca44b0724b3bf4e90a615d34202d
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 17 Dec 2023 09:29:49 -0800

android: attempt to get it working on really old versions

Diffstat:
MCargo.toml | 8+++++++-
Mshell.nix | 5++++-
2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml @@ -57,6 +57,12 @@ winit = { version = "0.28", features = [ "android-native-activity" ] } [package.metadata.android] package = "com.damus.app" apk_name = "damus" +#build_targets = ["armv7-linux-androideabi", "aarch64-linux-android" ] + +[package.metadata.android.sdk] +min_sdk_version = 22 +target_sdk_version = 30 +#max_sdk_version = 29 #assets = "assets" [[package.metadata.android.uses_feature]] @@ -66,7 +72,7 @@ version = 1 [[package.metadata.android.uses_permission]] name = "android.permission.WRITE_EXTERNAL_STORAGE" -max_sdk_version = 18 +max_sdk_version = 30 [package.metadata.android.signing.release] path = "damus.keystore" diff --git a/shell.nix b/shell.nix @@ -3,10 +3,13 @@ with pkgs; let x11libs = lib.makeLibraryPath [ xorg.libX11 xorg.libXcursor xorg.libXrandr xorg.libXi libglvnd vulkan-loader vulkan-validation-layers ]; ndk-version = "24.0.8215888"; + #ndk-version = "21.0.6113669"; + androidComposition = androidenv.composeAndroidPackages { includeNDK = true; ndkVersions = [ ndk-version ]; - platformVersions = [ "28" "29" "30" ]; + #platformVersions = [ "22" "28" "29" "30" ]; + platformVersions = [ "22" "30" ]; useGoogleAPIs = false; #useGoogleTVAddOns = false; #includeExtras = [