corber icon indicating copy to clipboard operation
corber copied to clipboard

plugin cordova-plugin-whitelist

Open mival opened this issue 3 years ago • 4 comments

Plugin cordova-plugin-whitelist is not longer compatible with android platform

Installing "cordova-plugin-whitelist" for android
Plugin doesn't support this project's cordova-android version. cordova-android: 10.1.1, failed version requirement: >=4.0.0 <10.0.0

but corber validator still require it.

mival avatar Nov 01 '21 14:11 mival

While trying to update an application so that it runs on Android 11, I've encountered the same issue. With cordova-android 10.x this plugin is no longer required, but somehow corber relies on it to be present (even when it's not installed). Is there a way to use corber with cordova-android 10.x or later?

bummzack avatar Jan 20 '22 12:01 bummzack

@bummzack my solution was remove plugin dependency from corber validator. After that corber builds and works still fine

mival avatar Jan 21 '22 08:01 mival

@mival Any pointers how to do that? I can't seem to find that corber validator anywhere…

bummzack avatar Jan 27 '22 12:01 bummzack

@bummzack validator is added in https://github.com/isleofcode/corber/blob/master/lib/targets/cordova/target.js#L51. So if you comment .push out, it should work

mival avatar Jan 28 '22 09:01 mival