Commit Graph

185 Commits

Author SHA1 Message Date
tomFlowee fdaed901eb Make more robust 2022-12-14 16:29:38 +01:00
tomFlowee e06cfc04f4 Change to use a persistent docker instance
To speed up builds, don't create and destroy dockers every run, instead
start one and keep calling into that one to do more builds.
2022-12-14 15:02:01 +01:00
tomFlowee cf30287b0a Improve detection of android build 2022-12-13 11:54:03 +01:00
tomFlowee e65469c979 Update version
Also replace tabs with spaces in the XML
2022-12-08 15:27:59 +01:00
tomFlowee 4d66fc6cec Fix buildZXing.sh 2022-12-08 15:27:59 +01:00
tomFlowee 094d7e0c2f Don't expect users to provide one 2022-12-07 11:23:56 +01:00
tomFlowee eb924dd5a2 Clean up no longer used patch. 2022-12-07 11:16:13 +01:00
tomFlowee 09b5f887f7 Add option to have faster deployments. (default off)
This allows a developer to avoid including the headers file in the APK
so it becomes a lot smaller and deployment is faster.
This only works on reinstalls, it won't be able to run on a phone where
Flowee Pay has never been installed.
2022-12-03 19:37:31 +01:00
tomFlowee 2bf63d6579 Add the ZXing library to the Android docker build
To use this library we now also add it to the docker image
where we cross-compile it for Android.

This creates a static-build of the library for easy includsion.
2022-12-01 23:54:57 +01:00
tomFlowee a612751e1e Make it much easier to enable netlogging debug
Now you can just drop a netlog.conf in your pay/android/
dir and this script will do the rest (assuming your build
dir is fresh).
2022-11-30 14:19:43 +01:00
tomFlowee 95d2b57cb3 Add basically functional camera support
This makes it possible for the mobile app on Android to use the camera.
We only ask for permission when the user actively goes to the 'QR-Scan'
tab, and we show a simple preview of the camera feed.

Notice that the permissions stuff is quite ugly right now due to Qt
having that module in development and the public APIs are simply not
available yet. But at least it works, which is all that matters.
When the next minor Qt release comes out we can hopefully clean this
up and use a version that needs no ifdefs.
2022-11-29 23:51:14 +01:00
tomFlowee fda10032ff Remove duplicate 2022-11-29 10:54:45 +01:00
tomFlowee 48b47305b5 Downgrade the AURs for SDK.
Qt hardcodes a gradle version that doesn't like the newest version
of Android.
2022-11-29 10:53:36 +01:00
tomFlowee 7724e61ea9 Upgrade docker to qt641 2022-11-28 16:22:16 +01:00
tomFlowee 3705e5caef Add 'noapk' arg to smartBuild 2022-11-15 13:09:46 +01:00
tomFlowee 6ae16ef6a4 Add basic signing
This ships a keystore for convenience, nothing official and
anyone could recreate it.
Now running 'smartBuild sign' will create the signed APK.
2022-11-14 16:01:45 +01:00
tomFlowee 8b86e22c6a New revision of the build script 2022-11-13 20:06:26 +01:00
tomFlowee 05d666bc74 Add the basic block-headers in the APK 2022-11-13 16:58:19 +01:00
tomFlowee 2fea2fa816 Fixlets in docker build and use less disk space 2022-11-10 23:44:18 +01:00
tomFlowee fdfda0f5e8 Make caching be default off again 2022-11-10 20:15:37 +01:00
tomFlowee 5b6f9c4ebf Update docker to include Svg lib 2022-11-10 17:06:00 +01:00
tomFlowee 5cec6fee76 Add various Android pieces of support
This adds the AndroidManifest and icons in order to make sure
and APK will have the proper name and the icons.
2022-11-10 16:43:11 +01:00
tomFlowee a2530957f0 update for Qt6 2022-11-07 14:31:38 +01:00
tomFlowee a9989244dc Latest Qt 2022-10-07 14:12:18 +02:00
tomFlowee bfca0eb670 Fix copyback concept 2022-09-26 16:22:27 +02:00
tomFlowee cc6ed22ea6 Add more docs 2022-09-21 12:47:01 +02:00
tomFlowee aee01c2cfc Detect mismatching user-id 2022-09-21 12:27:27 +02:00
tomFlowee 8faa7c0544 Install packages in one go.
This avoids any dependency issues.
2022-09-21 11:49:10 +02:00
tomFlowee 9c02287144 Build and link 2022-09-17 11:14:55 +02:00
tomFlowee 0139bd2c9a Don't have cache by default 2022-09-16 22:59:36 +02:00
tomFlowee 0be7088b97 Add QR-encode lib to android build 2022-09-16 22:59:36 +02:00
tomFlowee 7853004d68 Make compiling apps optional
This adds cmake options to make it easy to enable/disable apps
from building.
2022-09-16 22:59:36 +02:00
tomFlowee b3c1e74c8c Improvements for android building.
The build now no longer uses the root user for built files.
2022-09-16 22:59:36 +02:00
tomFlowee ce0c709127 Add some docs 2022-09-15 11:58:32 +02:00
tomFlowee 4a7809d394 Android compile docker recipy 2022-09-15 00:24:08 +02:00