fuyangpengqi
91de8e70e5
chore: fix some typos in comments ( #9014 )
...
Signed-off-by: fuyangpengqi <995764973@qq.com>
2 years ago
SomberNight
27bb28e35b
tests: follow-up move of folder
...
follow-up https://github.com/spesmilo/electrum/pull/8897
2 years ago
Sander van Grieken
4382578235
qml: android.minapi and android.ndk_api to 23 (android 6.0+)
2 years ago
Sander van Grieken
05758432d6
android: exclude more unnecessary directories
2 years ago
SomberNight
f14e99139c
android build: we always want apks, as we want to use our own privkey
...
ThomasV reported contrib/release.sh generating .aab artifacts.
aabs are shady business... best to avoid handing privkeys to big G (or any 3rd party!).
This must be a consequence of the recent p4a rebase,
e.g. 04bb63bbf0
2 years ago
Sander van Grieken
55c01bda9b
android: set target_sdk_version to 33
2 years ago
SomberNight
5c3e14d8de
qml: replace Send/ScanDialog with java bases zxing qr scan activity.
2 years ago
Sander van Grieken
0441cb0ad5
qml: exclude payserver plugin for qml
2 years ago
Sander van Grieken
770a32cf6a
qt6: update recipe pins, NDK, SDK, Ant, use venv for buildozer/p4a, add tomli recipe
2 years ago
SomberNight
b45c84f24f
remove the kivy gui
...
We now use the qml gui on Android, and haven't been maintaining
the kivy GUI for a while.
2 years ago
SomberNight
c3f16615ca
android build: exclude kivy classes from qml apk
...
taken from https://github.com/spesmilo/electrum/pull/8545
22bfd4eca6
note: com.android.support is used in our p4a fork's PythonActivity.java
(com.android.support was previously pulled in by me.dm7.barcodescanner)
052b9f7945/pythonforandroid/bootstraps/qt5/build/src/main/java/org/kivy/android/PythonActivity.java (L43)
2 years ago
Sander van Grieken
17bb1ad5c5
qml: enable Qt virtual keyboard and add Electrum keyboard style, modified from Qt 'default' style
3 years ago
SomberNight
98304662ca
android build: default to log_level=2
...
It is nice to see debug logs for local builds,
and also extremely useful to have them on the CI.
follow-up 6b9d294a86
3 years ago
SomberNight
0efc8815a4
android build: bump targetSdkVersion from 30 to 31
...
The google play store will require 31, starting 2022-11 (next month).
A few commits are cherry-picked onto our forks of p4a and buildozer
from upstream, but the forks are not rebased.
Note that the compileSdkVersion is kept at 30,
only the targetSdkVersion is bumped 30->31.
closes https://github.com/spesmilo/electrum/pull/8010
I am trying to upstream some relevant p4a and buildozer changes
in e.g. https://github.com/kivy/python-for-android/pull/2686
3 years ago
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
```
4 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
4 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
4 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/
5 years ago
SomberNight
3c9346cce2
android build: attempt at reproducible builds
5 years ago
SomberNight
c3ccfd7d19
android build: pin hashes of p4a recipes
5 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.
5 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
5 years ago
ThomasV
f7a8166b9c
new icons for android
5 years ago
SomberNight
f87727c195
android build: update kivy
...
fixes #7155
using older kivy master due to #7156
5 years ago
SomberNight
7698ab4ccb
android build: update kivy, and python
5 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.
5 years ago
SomberNight
59e9337be0
android build: bump targetSdkVersion to 29
...
as Google Play now mandates that as minimum
5 years ago
SomberNight
4f46741c52
binaries: bump python version (3.7.7->3.7.9)
5 years ago
akshauaurora
66fea5de20
exclude qdarkstyle for android build
6 years ago
ThomasV
485422b072
move android stuff to contrib/android
6 years ago
SomberNight
f8530b1cda
android build: use python3.7 for now
...
see #6147
6 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".
6 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)
6 years ago
SomberNight
f412420892
include lnwire csv files in binaries (follow-up #6050 )
6 years ago
ThomasV
87b7d2c0c0
wallet backup function for kivy/android
6 years ago
SomberNight
091f6ced58
android build: update buildozer and p4a versions
...
also update NDK version (new p4a demands it)
6 years ago
SomberNight
54d468f457
android apk: build two apks. ARMv7 and ARMv8
6 years ago
SomberNight
75afd06ca3
android build: don't download Apache ANT on every build
6 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
6 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)
6 years ago
ThomasV
fcfbc937bc
buildozer: use log_level=1
6 years ago
SomberNight
c15267e1f6
pycryptodomex for android
6 years ago
SomberNight
5bf854edcb
android build: make buildozer.spec more similar to upstream example
7 years ago
SomberNight
5c83df7709
android: update kivy, p4a, buildozer
7 years ago
ThomasV
1b8673839a
buildozer: add tests to exclude_dirs
7 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
7 years ago