diff --git a/Makefile b/Makefile index c4d6741be..dd313b7f4 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,9 @@ apple_extension_gen: $(MAKE) -C apple extension_gen droid: + @if ! [ -e android/Omnivore/app/src/main/res/values/secrets.xml ]; then \ + cp android/Omnivore/secrets.xml android/Omnivore/app/src/main/res/values/secrets.xml; \ + fi studio android/Omnivore webview_gen: diff --git a/android/Omnivore/README.md b/android/Omnivore/README.md new file mode 100644 index 000000000..cd631fb4f --- /dev/null +++ b/android/Omnivore/README.md @@ -0,0 +1,11 @@ +# Omnivore - Android + +## Setup + +From the root directory run the following command: + +`make droid` + +This will copy a secrets.xml file into the strings directory. +If you have a PSPDF license key then paste that value into the +`pspdfkit_license_key` entry in that file. diff --git a/android/Omnivore/secrets.xml b/android/Omnivore/secrets.xml new file mode 100644 index 000000000..89a05bdea --- /dev/null +++ b/android/Omnivore/secrets.xml @@ -0,0 +1,4 @@ + + + unset + \ No newline at end of file