Skip to content

BtcPayServer for Android 0.2.4

Pre-release
Pre-release

Choose a tag to compare

@Turtlecute33 Turtlecute33 released this 27 Oct 23:55
· 28 commits to main since this release
99ff27f

Warning

Pre-release. This build is not tested on a phone yet. 0.1.0 stays the latest release until it is.

This release needs Android 15 or later. It makes payment alerts more reliable, and it adds safety checks for channel fees and app URLs.

Important

Requires Android 15 (API 35) or later. Before, the minimum was Android 8.0. A phone with Android 8 to 14 cannot install 0.2.4. On such a phone, stay on 0.2.3.

One APK for all ABIs: arm64-v8a, armeabi-v7a, x86 and x86_64.

Install it over 0.2.3. The signing key is the same. Accounts you already added keep working.

Changed

  • Terminal: the currency row shows fewer chips. It shows the store default, the last currency you used, SATS and BTC. USD, EUR, GBP, CHF and CZK are under More. A currency that you select there gets its own chip. Thus a wrong tap next to the keypad does not change the currency as easily.
  • SATS amounts on the Terminal and on the checkout screen now have digit groups, for example "1,000,000 SATS". Sat amounts on other screens already had them.
  • Lightning Receive shows the amount in the other unit below the field, for example "= 21,000 sat". On-chain Receive and Send already do this. You can see a typing error before you make the invoice.
  • Before you open a Lightning channel, the review shows a warning if the fee rate is more than two times the store's fee estimate. If there is no estimate (the server node), the warning shows above 500 sat/vB. The warning does not stop the channel open.
  • Dates and times use the order of your language and the 12-hour or 24-hour setting of the phone. After you change the language, the month names also change.
  • Background alerts read the payout lists about once an hour, not at each check. If the API key can read the server notifications, the app checks a new payout immediately. Thus the payout alert still comes on time.
  • The server email screen and the store email screen use the same field names and the same certificate warning.
  • TalkBack: the Lightning history rows and the store switch row now say that they expand, and they say if they are open or closed.
  • The app starts faster after an install or an update, because the APK has a baseline profile for the app code. The app also loads the Lightning node names in the background, not on the main thread.
  • The APK is a little smaller. It no longer includes barcode decoders that the app does not use (the app reads only QR codes), licence files or Kotlin metadata.
  • Build only: newer Kotlin, Gradle and AndroidX versions, JDK 21, new dependency checksums, unused libraries and code removed, and more unit tests.

Fixed

  • Sometimes a payment alert did not come when the phone clock was ahead of the server clock. Now each check reads the last 10 minutes again. The app tells you about each payment only one time.
  • After a server or Orbot outage, alerts could come up to 5 hours after the server was available again. Now the app checks again at your usual interval.
  • On the payout list, an old load could replace a newer list. For example, the All filter could show a list without the cancelled payouts. Now a new load stops the old one.
  • On the checkout screen, the payment method chips go onto a second line when they do not fit. Before, on a narrow phone or with a large font, the last chip was cut off, and the customer could not select it.
  • Texts for a count of one now use the singular: "1 notification", "1 block", "1 day", "1 sale".

Privacy and security

  • Certificate transparency is on. On Android 16 and later, the app refuses a certificate from a system certificate authority if the certificate is not in a public log. Accounts with a pinned certificate are not affected.
  • When you change the notification URL or the redirect URL of a Point of Sale or Crowdfund app, the app shows the host and asks you to confirm. An http:// address on the internet gets a warning. Then the app asks for your fingerprint or PIN, as for a webhook. Before, these URLs were saved with no question.
  • A .onion server with https:// and a self-signed certificate can now be pinned. The app reads the certificate through Orbot. Then another app on Orbot's port sees only encrypted data.
  • The Orbot warnings are now correct. With an http:// .onion address, the API key goes to port 9050 in clear text. An app that holds the port before Orbot starts can keep it, also while Orbot shows as on. The connect, account and settings screens show this warning. The account screen of an http:// onion account shows it in red.
  • The app lock and the spend confirmation always use a key in the Android Keystore. Android 15 and later already did this. The code for older Android versions is removed.

Files

File Use
btcpayapp-0.2.4.apk Release build, signed. Android 15 or later.
btcpayapp-0.2.4.apk.sha256 The SHA-256 of the APK, for shasum -c.

Verify the download

  • APK SHA-256: d40fbea3c4bb6cf63c5b7f1f0fe92f9c6e3ddc7506f0c077e58fc3323984b017
  • Signing certificate SHA-256: 67ac728e39bb4866e613c8f676ab4cbd2baaa6a0d2728c53dcf9913f993727ba
shasum -a 256 -c btcpayapp-0.2.4.apk.sha256
apksigner verify --print-certs btcpayapp-0.2.4.apk

Do not install an APK with a different certificate.