You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/02/28 05:19:01 UTC

[GitHub] Domvel edited a comment on issue #686: How to set the ‘Requires Android’ version in Play Store?

Domvel edited a comment on issue #686: How to set the ‘Requires Android’ version in Play Store?
URL: https://github.com/apache/cordova-android/issues/686#issuecomment-468140785
 
 
   This is the Android Studio solution for a native app. Thanks. But not my problem. It's about the compiled App (apk) from Cordova. There is a file `config.xml` with the property `android-minSdkVersion`. This should do this job. But the Cordova compiler does not respect this configuration. 
   
   You mean I have to load the Android project from `platforms/android` into the Android Studio and set the properties? But I don't want to modificate ("hack") the Cordova sources (platform). This should be a non tracked resource (gitignore). Cordova **have** this setting for "Min SDK Version", but it does not work. I think this is a bug. 
   
   I could set the `minSdkVersion` in the file `AndroidManifest.xml`.
   
   ```xml
   <uses-sdk
     android:minSdkVersion="19"
     android:targetSdkVersion="22" />
   ```
   
   Not tested, but I'll try as workaround. But this feature has to be work from Cordova `config.xml`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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