Skip to content
This repository was archived by the owner on Mar 15, 2026. It is now read-only.

buildozer: extract versionName from pyproject.toml#64

Merged
maoist2009 merged 1 commit intomaoist2009:mainfrom
UjuiUjuMandan:version
Jul 10, 2025
Merged

buildozer: extract versionName from pyproject.toml#64
maoist2009 merged 1 commit intomaoist2009:mainfrom
UjuiUjuMandan:version

Conversation

@UjuiUjuMandan
Copy link
Copy Markdown
Contributor

@UjuiUjuMandan UjuiUjuMandan commented Jul 10, 2025

The version of Android app should be the same as Python package.

Confirmed to be working.

$ aapt dump badging tlsfragment-3.1.0-arm64-v8a_armeabi-v7a-release-signed.apk 

package: name='org.maoist2009.tlsfragment' versionCode='102130100' versionName='3.1.0' platformBuildVersionName='12' platformBuildVersionCode='31' compileSdkVersion='31' compileSdkVersionCodename='12'
install-location:'auto'
sdkVersion:'21'
targetSdkVersion:'31'
uses-permission: name='android.permission.INTERNET'
uses-permission: name='android.permission.FOREGROUND_SERVICE'
uses-permission: name='android.permission.SYSTEM_ALERT_WINDOW'
uses-permission: name='android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS'
application-label:'TLSFragment'
application-icon-160:'res/vI.png'
application-icon-240:'res/vI.png'
application-icon-320:'res/vI.png'
application-icon-480:'res/vI.png'
application: label='TLSFragment' icon='res/vI.png'
launchable-activity: name='org.kivy.android.PythonActivity'  label='TLSFragment' icon=''
feature-group: label=''
  uses-gl-es: '0x20000'
  uses-feature: name='android.hardware.faketouch'
  uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
  uses-feature: name='android.hardware.screen.portrait'
  uses-implied-feature: name='android.hardware.screen.portrait' reason='one or more activities have specified a portrait orientation'
main
other-services
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480'
native-code: 'arm64-v8a' 'armeabi-v7a'

@UjuiUjuMandan
Copy link
Copy Markdown
Contributor Author

A new version is needed after merging this, like V3.1.1?

@maoist2009 maoist2009 merged commit 1a624d3 into maoist2009:main Jul 10, 2025
1 check passed
@maoist2009
Copy link
Copy Markdown
Owner

A new version is needed after merging this, like V3.1.1?

added

@UjuiUjuMandan
Copy link
Copy Markdown
Contributor Author

A new version is needed after merging this, like V3.1.1?

added

version = "3.1.0"

Here.

@UjuiUjuMandan UjuiUjuMandan deleted the version branch July 10, 2025 08:30
@UjuiUjuMandan
Copy link
Copy Markdown
Contributor Author

UjuiUjuMandan commented Jul 10, 2025

Well, I meant,

  1. Update the version to 3.1.1 in pyproject.toml.
  2. Tag a new version of V3.1.1 on the above commit.
  3. Optionally trigger the android release workflow.

@maoist2009
Copy link
Copy Markdown
Owner

Well, I meant,

  1. Update the version to 3.1.1 in pyproject.toml.
  2. Tag a new version of V3.1.1 on the above commit.
  3. Optionally trigger the android release workflow.

I forgot to told you the signed release can't be install before you join. Are you sure it works?

@maoist2009
Copy link
Copy Markdown
Owner

@UjuiUjuMandan
Copy link
Copy Markdown
Contributor Author

UjuiUjuMandan commented Jul 10, 2025

the signed release can't be install before you join.

Modern Android will block APKs that have only V1 signature, see #59 (comment).

https://developer.android.google.cn/about/versions/11/behavior-changes-11#minimum-signature-scheme

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants