commit 09ad354d240dc78e9c1a0dd7299921f8d328f23d
parent 0a2a3f2bffa9e76f16861b3ceca3ab6f6ad33adc
Author: William Casarin <jb55@jb55.com>
Date: Tue, 11 Mar 2025 10:14:48 -0700
android: add push configs to readme
This wasn't documented, let's fix that
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
3 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -1,4 +1,5 @@
.buildcmd
+android-config.json
build.log
perf.data
rusty-tags.vi
diff --git a/README.md b/README.md
@@ -61,6 +61,14 @@ The app should appear on the emulator
[direnv]: https://direnv.net/
+## Android Config
+
+You can load custom views onto an android device for testing:
+
+1. Copy `example-android-config.json` to `android-config.json`
+
+2. Run `make push-android-config` to copy it to your device
+
## Previews
You can preview individual widgets and views by running the preview script:
diff --git a/example-android-config.json b/example-android-config.json
@@ -0,0 +1,14 @@
+{
+ "args": [
+ "argv0-placeholder",
+ "--npub",
+ "npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s",
+ "-c",
+ "contacts",
+ "-c",
+ "notifications",
+ "-c",
+ "notifications:npub18m76awca3y37hkvuneavuw6pjj4525fw90necxmadrvjg0sdy6qsngq955"
+ ]
+}
+