Skip to content
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

Reduce minSdkVersion to 19 #460

Closed
felix-ht opened this issue Nov 16, 2020 · 1 comment
Closed

Reduce minSdkVersion to 19 #460

felix-ht opened this issue Nov 16, 2020 · 1 comment

Comments

@felix-ht
Copy link
Collaborator

This package requires android sdk version 20. The Mapbox Gl library for android only requires version 14. https://docs.mapbox.com/android/maps/overview/

Version 20 is especially weird as it is a specific release for Android Wear.

If it would be possible to reduce the min sdk version to 19 this would include the normal 4.4 Kitkat release and thus include quite a bit of extra devices. In numbers this mean that Api level 20 supports 94.1% of all devices while 19 supports 98.1% of all devices.

image

@tobrun
Copy link
Collaborator

tobrun commented Dec 3, 2020

From https://api.flutter.dev/flutter/widgets/AndroidView-class.html

AndroidView class

Embeds an Android view in the Widget hierarchy.

Requires Android API level 20 or greater.

#140 could resolve this long term by not relying on Android but for now, not possible.

@tobrun tobrun closed this as completed Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants