Despite we allow users to configure the target SDK, I don’t think we should
allow other than the default on latest cordova-android.

By allow I mean on issues, users are free to use whatever they want, but if
they don’t use latest they should take care of possible problems themselves.
With that being said, camera plugin requires latest cordova-android, so
that means target sdk 29.

But also we need to have in mind that if the plugin allowed older
cordova-android versions and we add some code that requires a higher sdk
than the default on that cordova-android version we should bump the
dependency to the version that targets that sdk as default.

BTW, sdk 29 is already a requirement for new apps since August, November is
for existing apps.

El El mié, 14 oct 2020 a las 23:46, Norman Breau <nor...@normanbreau.com>
escribió:

> Hi team,
>
> A recent discussion came up about what the minimum Target SDK we should
> support. Google enforces apps to be built with at least Target SDK 28 (soon
> to be 29 coming November), but Cordova users may not be publishing to the
> Google Play store, particularly with enterprise businesses with internal
> distribution systems.
> This is currently not documented and I would like it to be documented
> because we were close to merging a PR that would make the camera plugin
> require Target SDK 28. But before I submit a documentation PR I would like
> some feedback on what our minimum Target SDK should be.
> Logically I think it makes the most sense to say that whatever what our
> Minimum SDK level is should be our minimum supported Target SDK (which is
> currently 22 for cordova-android@9).
> For clarity because terminology here is a little confusion:
> Minimum SDK = The minimum supported OS
> Target SDK = The SDK level used to compile an app.
>
> Norman Breau
> Software Developer
>
> nor...@normanbreau.com (
> https://link.getmailspring.com/link/c6cac914-84d1-430d-9fd4-acd8f2bcd...@getmailspring.com/0?redirect=mailto%3Anorman%40normanbreau.com&recipient=ZGV2QGNvcmRvdmEuYXBhY2hlLm9yZw%3D%3D
> )
> https://breautek.com (
> https://link.getmailspring.com/link/c6cac914-84d1-430d-9fd4-acd8f2bcd...@getmailspring.com/2?redirect=https%3A%2F%2Fbreautek.com&recipient=ZGV2QGNvcmRvdmEuYXBhY2hlLm9yZw%3D%3D
> )
>
>

Reply via email to