From 09ad354d240dc78e9c1a0dd7299921f8d328f23d Mon Sep 17 00:00:00 2001 From: William Casarin Date: Tue, 11 Mar 2025 10:14:48 -0700 Subject: [PATCH] android: add push configs to readme This wasn't documented, let's fix that Signed-off-by: William Casarin --- .gitignore | 1 + README.md | 8 ++++++++ example-android-config.json | 14 ++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 example-android-config.json diff --git a/.gitignore b/.gitignore index 17bd251..b2f789c 100644 --- 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 index 84b73b0..3708e94 100644 --- 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 new file mode 100644 index 0000000..6fc32d0 --- /dev/null +++ b/example-android-config.json @@ -0,0 +1,14 @@ +{ + "args": [ + "argv0-placeholder", + "--npub", + "npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s", + "-c", + "contacts", + "-c", + "notifications", + "-c", + "notifications:npub18m76awca3y37hkvuneavuw6pjj4525fw90necxmadrvjg0sdy6qsngq955" + ] +} +