github kivy/python-for-android v2023.01.28

latest releases: v2024.01.21, v2023.09.16, v2023.05.21...
20 months ago

Highlights:

  • scypt recipe has been updated.
  • --orientation option controls the allowed orientations (portrait, landscape, portrait-reverse, landscape-reverse). The allowed orientations list is then set to KIVY_ORIENTATION environment variable, which is used during window setup time to populate the SDL_HINT_ORIENTATIONS value, as we're doing for other platforms.
  • --manifest-orientation option has been added to keep the android:screenOrientation personalisation functionality, even if Android will be likely deprecate this attribute in future.
  • If --manifest-orientation is not set, and only (one of multiple) --orientation options are passed, the value for android:screenOrientationis guessed and synthesized from the --orientation option. Sinceandroid:screenOrientationaccepts only 1 value, if multiple--orientationare given,android:screenOrientation` will be set to unspecified.
  • Introduced support for permission properties (maxSdkVersion and usesPermissionFlags)

Full changelog:

  • Implements --manifest-orientation and changes how --orientation works so we can now pass the setting to the SDL orientation hint #2739 (misl6)
  • Update __init__.py from scrypt recipe #2738 (FilipeMarch)
  • Apply a patch from SDL upstream that fixes orientation settings #2730 (misl6)
  • Support permission properties (maxSdkVersion and usesPermissionFlags) + remove WRITE_EXTERNAL_STORAGE permission, which has been previously declared by default #2725 (misl6)
  • Merge master in develop #2721 (misl6)

Don't miss a new python-for-android release

NewReleases is sending notifications on new releases.