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" + ] +} +