We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e6f713 commit 87945a8Copy full SHA for 87945a8
scripts/android/before_plugin_install.js
@@ -19,7 +19,7 @@ const writeIbgBuildGradle = (contents) => {
19
const getAndroidVersion = () => {
20
const target = path.join('config.xml');
21
let file = fs.readFileSync(target, 'utf-8');
22
- const androidEngine = file.match(/engine name="android" spec="\^[1-9]+.[0-9]+.[0-9]+"/g);
+ const androidEngine = file.match(/engine name="android" spec="\^?[1-9]+.[0-9]+.[0-9]+"/g);
23
if (androidEngine) {
24
const version = androidEngine[0].match(/[1-9]+.[0-9]+.[0-9]+/g);
25
if (version) {
0 commit comments