New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SR-1360] Android: Possible to lower minimum API level? #43969
Comments
Comment by Sam Khawase (JIRA) Paging @modocache and udiWertheimer (JIRA User) I've lowered the Android API level version to API level 16 and tried to build Swift.
So the main issue here is the IMO we need to find an alternative to do the |
Comment by Eric Wing (JIRA) I'm curious what Swift does with this feature (why it is needed). I'm a little concerned that this kind of feature is bad to assume for cross-platform support as not every platform allows dynamic libraries. (cough cough iOS until recently). And even if they do, the functionality is always platform specific. Like is there an equivalent for dl_iterate_phdr for Windows? |
Is this resolved, or no longer being considered? If either, this should be closed. |
This has been open for so long and no work that I know of has been done on it. Further, the current Android NDK 24 only supports back to API 19, so pretty soon API 21 will be the minimum supported API, and that's what it has been in Swift for years and what the community CI tests. @compnerd, I think you can close this after six years as something that won't be done. |
Additional Detail from JIRA
md5: 9bbb4091c91b7b52c7f18d792ccac188
Issue Description:
The current requirement is API 21. I was wondering if we can make this lower. The problem with Android is nobody updates.
http://developer.android.com/about/dashboards/index.html
By the current stats, for example, if we could go from 5.0 (API 21) to just 4.4 (API 19), we get of potential devices 33.4% back.
I suggest using this bug/thread to document what the compatibility issues are:
I’ve been made aware of two problems so far: log2f and getline.
I don’t currently have any info on getline, but log2f is available in API 19 (Not sure if it was introduced in API 19 or slightly before. It was not in API 14.)
I am also aware of a cheat for log2f that developers have exploited. It is defined as an inline function in API 19. So you can actually build against API 19 in this case and still to deploy to older versions.
The text was updated successfully, but these errors were encountered: