mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-17 08:44:20 +01:00
android: add push configs to readme
This wasn't documented, let's fix that Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,5 @@
|
|||||||
.buildcmd
|
.buildcmd
|
||||||
|
android-config.json
|
||||||
build.log
|
build.log
|
||||||
perf.data
|
perf.data
|
||||||
rusty-tags.vi
|
rusty-tags.vi
|
||||||
|
|||||||
@@ -61,6 +61,14 @@ The app should appear on the emulator
|
|||||||
|
|
||||||
[direnv]: https://direnv.net/
|
[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
|
## Previews
|
||||||
|
|
||||||
You can preview individual widgets and views by running the preview script:
|
You can preview individual widgets and views by running the preview script:
|
||||||
|
|||||||
14
example-android-config.json
Normal file
14
example-android-config.json
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"args": [
|
||||||
|
"argv0-placeholder",
|
||||||
|
"--npub",
|
||||||
|
"npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s",
|
||||||
|
"-c",
|
||||||
|
"contacts",
|
||||||
|
"-c",
|
||||||
|
"notifications",
|
||||||
|
"-c",
|
||||||
|
"notifications:npub18m76awca3y37hkvuneavuw6pjj4525fw90necxmadrvjg0sdy6qsngq955"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user