commit 8b80096290d8978209ed2276b4ec828cf3b67931
parent ec755493d96f31aa8c371488a20d2b89a7fc1353
Author: Ken Sedgwick <ken@bonsai.com>
Date: Thu, 12 Dec 2024 11:38:43 -0800
android: misc fixes for android
Closes: https://github.com/damus-io/notedeck/pull/568
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
@@ -41,7 +41,7 @@ $ rustup target add aarch64-linux-android
To run on a real device, just type:
```bash
-$ cargo apk run --release
+$ cargo apk run --release -p notedeck_chrome
```
## Android Emulator
@@ -54,7 +54,7 @@ $ cargo apk run --release
while the emulator is running, run:
```bash
-cargo apk run --release
+cargo apk run --release -p notedeck_chrome
```
The app should appear on the emulator
diff --git a/crates/notedeck_chrome/Cargo.toml b/crates/notedeck_chrome/Cargo.toml
@@ -42,7 +42,6 @@ profiling = ["notedeck_columns/puffin"]
android_logger = "0.11.1"
android-activity = { version = "0.4", features = [ "native-activity" ] }
winit = { version = "0.30.5", features = [ "android-native-activity" ] }
-#winit = { git="https://github.com/rust-windowing/winit.git", rev = "2a58b785fed2a3746f7c7eebce95bce67ddfd27c", features = ["android-native-activity"] }
[package.metadata.bundle]
identifier = "com.damus.notedeck"
@@ -67,7 +66,7 @@ name = "android.permission.READ_EXTERNAL_STORAGE"
max_sdk_version = 18
[package.metadata.android.signing.release]
-path = "damus.keystore"
+path = "../../damus.keystore"
keystore_password = "damuskeystore"
[[package.metadata.android.uses_permission]]