Sander van Grieken
3868878be4
filter out more unneeded files for packaging
3 years ago
Sander van Grieken
758a30462e
implement QR code scanning
3 years ago
Sander van Grieken
492f246b9a
qml: add QR code imageprovider using qrcode/PIL
adds buildozer 'pillow' recipe to requirements
add initial PoC on qml receive tab
3 years ago
Sander van Grieken
a2fac2e3e3
buildozer: exclude env dir, don't include vs, fs extensions
3 years ago
SomberNight
7cd14e4ef4
android build: (reprod) exclude frozenlist-*.dist-info from apk
```
$ cat d
29,30c29,32
< 527b99c5fa20d43ab49302f6b4b1a9a671ac04601f5f471f254ae2f97cb31e17 ./META-INF/MANIFEST.MF
< 0a2887e3041a3eaeef6e0f1dbf65fcc527bf0c878728b0e9d4b783b855f3e64c ./assets/private.mp3
---
> d18d1d9f4933952f93b32091b0a002cdb9ed94fdecc20b22d605cf8143a02d92 ./META-INF/CERT.RSA
> ec2ca24868f69427162c0dc2f3a3390e6165dec7b3202c65928ae77939316392 ./META-INF/CERT.SF
> 7a94368993707d82a328cf7625450e6868f450ecf73474574048ff70a707f4ce ./META-INF/MANIFEST.MF
> 84c86813d93d4e74a7f199da8b925d36d89608eee37031a88f61a833ab30e6dd ./assets/private.mp3
1672c1674
< 10666a3ae7e2080120165b2b0edbbe2eb8e7b679dac7de18dffde0e6f786fd08 ./assets/private_mp3/packages/frozenlist-1.3.0.dist-info/RECORD
---
> 803d20545cf39ade4d9b803034f0fd2002478ffdcc2056852621ae2c42e37d0d ./assets/private_mp3/packages/frozenlist-1.3.0.dist-info/RECORD
```
3 years ago
SomberNight
b1b17029f1
android build: bump targetSdkVersion to 30
This is the new minimum the google play store requires.
note: the newer android command-line tools use a tiny bit different paths,
hence the `mv "${ANDROID_SDK_HOME}/cmdline-tools" "${ANDROID_SDK_HOME}/tools"` rename
see https://github.com/kivy/python-for-android/issues/2540
3 years ago
ThomasV
d91a4da557
Add Qt5/QML building framework to contrib/android:
- update requirements file for building PyQt5
- use separate .buildozer directories for qml and Kivy
- add GUI and ARCH parameters to android/build.sh
3 years ago
SomberNight
5ae167d67d
android build: place binaries in ./dist/ instead of ./bin/
Let's try to consolidate and have all build scripts put binaries into ./dist/
4 years ago
SomberNight
3c9346cce2
android build: attempt at reproducible builds
4 years ago
SomberNight
c3ccfd7d19
android build: pin hashes of p4a recipes
4 years ago
SomberNight
bb381a263a
android build: update p4a/buildozer to latest upstream
Rebased our branches on latest p4a develop HEAD and buildozer master HEAD.
Re `android.allow_backup = False` in buildozer.spec, now that this setting
has been exposed to buildozer.spec (see https://github.com/kivy/buildozer/pull/1206 ),
we could finally drop a commit from our branch that did the same:
7a7d415d90
Re commenting out `android.arch` in buildozer.spec, we are setting this
via the ENV VAR in make_apk.
4 years ago
SomberNight
3d9798757d
android: update app icon; use "adaptive icons" on API 26+
see https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive
p4a and buildozer had to be patched for this; I will try to upstream the patches, see:
https://github.com/kivy/python-for-android/pull/2446
https://github.com/kivy/buildozer/pull/1312
4 years ago
ThomasV
f7a8166b9c
new icons for android
4 years ago
SomberNight
f87727c195
android build: update kivy
fixes #7155
using older kivy master due to #7156
4 years ago
SomberNight
7698ab4ccb
android build: update kivy, and python
4 years ago
SomberNight
6f105ae43b
android build: bump targetSdkVersion to 29 (follow-up)
follow-up: 59e9337be0
For some reason, without this change, the first build works but subsequent builds fail.
Not sure what the cause is. This is why Travis builds work.
4 years ago
SomberNight
59e9337be0
android build: bump targetSdkVersion to 29
as Google Play now mandates that as minimum
4 years ago
SomberNight
4f46741c52
binaries: bump python version (3.7.7->3.7.9)
4 years ago
akshauaurora
66fea5de20
exclude qdarkstyle for android build
5 years ago
ThomasV
485422b072
move android stuff to contrib/android
5 years ago
SomberNight
f8530b1cda
android build: use python3.7 for now
see #6147
5 years ago
SomberNight
1dc3100ba3
android build: use "cryptography" instead of "pycryptodomex" fork
Electrum needs either "cryptography" or "pycrytodomex" (since #6014 ).
Previously we have been using a custom fork (of ours) of pycryptodomex,
now let's just use upstream "cryptography".
5 years ago
SomberNight
f777c9ee13
android build: update buildozer/p4a/NDK
- updated p4a pulls in newer openssl (old one is no longer available from openssl.org)
- old NDK no longer available (new one is what updated p4a recommends)
5 years ago
SomberNight
f412420892
include lnwire csv files in binaries (follow-up #6050 )
5 years ago
ThomasV
87b7d2c0c0
wallet backup function for kivy/android
5 years ago
SomberNight
091f6ced58
android build: update buildozer and p4a versions
also update NDK version (new p4a demands it)
5 years ago
SomberNight
54d468f457
android apk: build two apks. ARMv7 and ARMv8
5 years ago
SomberNight
75afd06ca3
android build: don't download Apache ANT on every build
5 years ago
SomberNight
98c8c2127c
android build: update kivy, p4a, buildozer
- also merge https://github.com/kivy/buildozer/pull/957 as prereq for
building multiple apks (one per arch)
- and custom buildozer commit to put target arch into apk name
5 years ago
SomberNight
5f817770af
android build: make sure to use correct pycryptodomex
note: buildozer casts all actual paths to lowercase but not the list of excluded paths...
see 182d13f102/buildozer/__init__.py (L775)
5 years ago
ThomasV
fcfbc937bc
buildozer: use log_level=1
5 years ago
SomberNight
c15267e1f6
pycryptodomex for android
6 years ago
SomberNight
5bf854edcb
android build: make buildozer.spec more similar to upstream example
6 years ago
SomberNight
5c83df7709
android: update kivy, p4a, buildozer
6 years ago
ThomasV
1b8673839a
buildozer: add tests to exclude_dirs
6 years ago
SomberNight
2c71b9da0c
icons: instead of symlinks, just mv "icons" dir
symlinks are really inconvenient on Windows
(when running from cloned source)
follow-up #5055
6 years ago
SomberNight
ca931f476f
fix android build: pin buildozer and pin kivy.
old p4a did not work with new buildozer. kivy master crashes.
kivy latest release has runtime issues (orientation was landscape).
these versions seem to work.
also updated dockerfile to more closely match p4a master.
6 years ago
SomberNight
605982a2b7
android build: less verbose buildozer logs
6 years ago
SomberNight
2f7573850e
fix prev
6 years ago
SomberNight
8999e92f76
android build: fix warning re ndk_api
"NDK API target was not set manually, using the default of 21 = min(android-api=28, default ndk-api=21)"
6 years ago
SomberNight
a34d42492d
android docker build
6 years ago
SomberNight
b21064f16f
android: don't use external storage
so that we don't need the extra permission.
also because phones these days have enough internal storage for
the headers; and maybe it's better even for security reasons to
store it there.
no upgrade path is provided for the headers stored on external storage,
we will litter the filesystem and leave them there. they will be
downloaded again into internal storage.
6 years ago
SomberNight
f095b35663
android: build apk using new python3 p4a toolchain
6 years ago
ThomasV
77940148fa
fix paths in buildozer/makefile
7 years ago
Janus
097ac144d9
file reorganization with top-level module
7 years ago
ThomasV
d58c069336
read apk version number from version.py
7 years ago
SomberNight
86992aea6c
bundle libsecp256k1 in android apk
this works as there is already a p4a recipe upstream: 74bf788a29/pythonforandroid/recipes/libsecp256k1/__init__.py
7 years ago
SomberNight
a852f97e97
kivy: change activity launchMode to singleTask
7 years ago
ThomasV
2303f7b540
use python 3.6 to build APK
7 years ago
Johann Bauer
7ccbbe77f5
Bundle QR scanner with Android app
7 years ago