diff --git a/CHANGELOG.md b/CHANGELOG.md index d9f50c3..13346a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Changelog +### Version 1.102 + +- Remove the `--external` flag for Capacitor 7 + ### Version 1.101 - Capacitor 7 migration support diff --git a/package-lock.json b/package-lock.json index 7a4fbfb..347972f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ionic", - "version": "1.100.0", + "version": "1.102.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ionic", - "version": "1.100.0", + "version": "1.102.0", "license": "MIT", "dependencies": { "@trapezedev/configure": "7.1.3", diff --git a/package.json b/package.json index c325296..7161be9 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "ionic", "displayName": "Ionic", "description": "Official extension for Ionic and Capacitor development", - "version": "1.101.0", + "version": "1.102.0", "icon": "media/ionic.png", "publisher": "Ionic", "keywords": [ diff --git a/src/capacitor-run.ts b/src/capacitor-run.ts index bdd974a..797617c 100755 --- a/src/capacitor-run.ts +++ b/src/capacitor-run.ts @@ -96,8 +96,10 @@ async function capRun( const ionic = ''; if (externalIP) { - if (capRunFlags.length >= 0) capRunFlags += ' '; - capRunFlags += '--external'; + if (isLess('@capacitor/core', '7.0.0')) { + if (capRunFlags.length >= 0) capRunFlags += ' '; + capRunFlags += '--external'; + } } if (ionic != '' && prod) {