An android-application which bridges Strecklistan with iZettle POS using their SDK.
TODO: add more stuff here
- Get an iZettle developer account
- Open the project in android studio
- Copy the
secrets.gradle.examplefile and fill in the required variables from strecklistan, github, and your iZettle developer account.
First, set up a key store
keytool -genkey -v -keystore release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-alias
Then, run the makefile:
make release
Or, you can go through the steps manually:
# compile the app
./gradlew assemble
# magic bs
zipalign -v -p 4 \
app/build/outputs/apk/release/app-release-unsigned.apk \
app-release-unsigned-aligned.apk
# Sign the APK
apksigner sign --ks release-key.jks \
--out streckbryggan.apk \
app-release-unsigned-aligned.apk