Define a minimum OS-requirement
Some API's requires a minimum Android/iOS/macOS/Windows version. Currently, we don't have a automatic testing (yet!), so it makes really hard to test agains't many versions. That also affected GioUI itself (https://github.com/gioui/gio/commit/38e4b1c6a41acbaf7baac2bbb8ab80951f3ba502).
I think we need to set a minimum Android and iOS version for now and future, personally I think:
- Android Marshmallow (10 years ago)
- Windows 11 (4 years ago)
- iOS 17 (2 years ago)
- macOS Big Sur 11 (5 years ago)
Motivation: Usually Android doesn't update as often as iOS, so it's more likely to have a older Android version. IIRC Golang requires Android 4.4 or newer.
Windows 10 is chaotic due to multiple versions/updates during the lifespan and it still supporting 32bits devices, which is dropped in Windows 11. Go 1.21 requires Windows 10.
The iOS 17 introduces the new side-loading method, allowing EU companies (and other countries) to publish outside of AppStore, that means that Gio-Plugin can violate AppStore rules, if necessary, and clearly stated. Golang itself requires iOS 12.
Golang 1.23 requires macOS Big Sur 11 and this was the first version to support ARM64, IIRC. Most people are using ARM64, on macOS.
https://github.com/joeblew999/goup-util/tree/main/pkg/config
The system uses the sdk code to install the tools, to allow easy gio builds.
iOS , Android currently
You can configure which via cli.
I have not tested this well yet.
The SDK isn't the issue. You can should use the latest one available. IIRC that is also a requirement for Google Play.
The main issue is running the program in older devices. Bugs like that one can happen, not because of SDK, but due to the lack of version-checking.
I have a bunch of Android devices here (almost 20 of them) and I'm collecting some old devices too. However, right now, I'm focus on merge everything to Gio (to get rig of my fork) and on Gio-Plugins (because this public version is out-of-date).
I will update my tool
Also working on Chinese mobiles integration too
Btw awesome work on gio PR’s lately . It’s been a long hard road but finally in