You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/02/01 17:40:10 UTC

[GitHub] [cordova-android] phil294 opened a new issue #1394: New Apps require Android API 30+ which Cordova does not provide

phil294 opened a new issue #1394:
URL: https://github.com/apache/cordova-android/issues/1394


   # Bug Report
   
   ## Problem
   
   [Cordova's latest Android package supports up to Android API Level 29](https://cordova.apache.org/docs/en/10.x/guide/platforms/android/), but [releasing a new app on Google Play Store requires Android API 30+ since August 2021](https://developer.android.com/google/play/requirements/target-sdk).
   
   ### What is expected to happen?
   
   Perhaps I am misunderstanding something, but I would assume to be able to publish a Cordova-created app on Google Play. This seems to be entirely impossible??
   
   ### What does actually happen?
   
   When uploading the bundle for an internal testing release, the file is rejected with
   
     Your app currently targets API level 29 and must target at least API level 30
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   It seems this can be bypassed by doing e.g.
   
   ```xml
   <preference name="android-targetSdkVersion" value="30" />
   ```
   
   but I don't know
   - why this works
   - if this actually means android api level 30 support
   - if this breaks something
   
   and it's probably a hack anyway (?)
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   standard config.xml
   
   ### Version information
   <!--
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   Cordova 10.0.0
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] breautek closed issue #1394: New Apps require Android API 30+ which Cordova does not provide

Posted by GitBox <gi...@apache.org>.
breautek closed issue #1394:
URL: https://github.com/apache/cordova-android/issues/1394


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] breautek commented on issue #1394: New Apps require Android API 30+ which Cordova does not provide

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1394:
URL: https://github.com/apache/cordova-android/issues/1394#issuecomment-1027272785


   Docs needs to be updated (it's missing cordova-android 10) but cordova-android@10 is the official version that supports API 30 and will target API 30 by default.
   
   `android-targetSdkVersion` preference can be used to override the target API but it may or may not work on all cordova-android versions (e.g. just because you target a specific API level, doesn't mean the underlying platform code actually **supports** that API level)
   
   I suspect you have cordova-android 9 installed, which by default targets API 29. cordova-android 9 itself will work while targeting API 30 using the aforementioned preference but plugin support may vary.
   
   Closing as not-a-bug. If you have anymore questions, don't hesitate to ask.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] phil294 commented on issue #1394: New Apps require Android API 30+ which Cordova does not provide

Posted by GitBox <gi...@apache.org>.
phil294 commented on issue #1394:
URL: https://github.com/apache/cordova-android/issues/1394#issuecomment-1027115635


   #1261 says that v10 should already be supporting level 30 but I assume it does not, as the docs say 29 max.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] phil294 edited a comment on issue #1394: New Apps require Android API 30+ which Cordova does not provide

Posted by GitBox <gi...@apache.org>.
phil294 edited a comment on issue #1394:
URL: https://github.com/apache/cordova-android/issues/1394#issuecomment-1027115635


   #1261 says that v10 should already be supporting level 30 but apparently it does not, even the docs say so.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] fredriksthlm commented on issue #1394: New Apps require Android API 30+ which Cordova does not provide

Posted by GitBox <gi...@apache.org>.
fredriksthlm commented on issue #1394:
URL: https://github.com/apache/cordova-android/issues/1394#issuecomment-1027224177


   <html>
   <body>
   <!--StartFragment-->
   
   cordova-android Version | Target Android API-Levels | Equivalent Android Version
   -- | -- | --
   10.X.X | 30 | 11.0.0
   9.X.X |  29 | 10.0.0
   8.X.X |  28 |  9.0.0
   
   Now we are waiting for Cordova-Android 11 to be released which will target Android API31, ie Android12
   
   
   <!--EndFragment-->
   </body>
   </html>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org