-
Notifications
You must be signed in to change notification settings - Fork 147
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
Plugin overrides android minSdkVersion to 16 #17
Comments
Yeah same issue for me also. What is the quick work ardound for this to give update. |
For quick fix, create build-extras.gradle with following Copy this file to /platforms/android/ folder. You can either do it manually or can write a hook |
This is highly critical and should be resolved. |
Here is a hook that fixes the problem: Add to config.xml:
create file: cordova/scripts/afterAddBrowserTabPlugin.js
|
This fixes google#17
I have some issues with
|
The above solutions did not work for me so I wrote a little script and added it to my scripts: {
"monkey-patch-cordova-plugin-browsertab": "sed -i 's/def minSdkVersion = 16/def minSdkVersion = 19/g' ./platforms/android/cordova-plugin-browsertab/safepace-BrowserTab.gradle"
} I run |
This plugin causes cordova to disregard the minSdk version set in config.xml.
For example, if i have the following line in my config.xml:
<preference name="android-minSdkVersion" value="21" />
This plugin causes cordova to build my android app with version 16 as the target (and not 21 as i asked).
The text was updated successfully, but these errors were encountered: