@capacitor/cli 4.7.1 → 4.7.2-dev-20230330T154908.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
package/dist/cordova.js CHANGED
@@ -695,16 +695,22 @@ async function writeCordovaAndroidManifest(cordovaPlugins, config, platform) {
695
695
  }
696
696
  }
697
697
  else {
698
- let foundRequiredElement = false;
699
- for (const existingElementItem of existingElement.children) {
700
- const foundRequiredElementIn = doesElementMatch(requiredElement, existingElementItem);
701
- if (foundRequiredElementIn) {
702
- foundRequiredElement = true;
703
- break;
704
- }
698
+ if (requiredElement.children === undefined &&
699
+ existingElement.children === undefined) {
700
+ return true;
705
701
  }
706
- if (!foundRequiredElement) {
707
- return false;
702
+ else {
703
+ let foundRequiredElement = false;
704
+ for (const existingElementItem of existingElement.children) {
705
+ const foundRequiredElementIn = doesElementMatch(requiredElement, existingElementItem);
706
+ if (foundRequiredElementIn) {
707
+ foundRequiredElement = true;
708
+ break;
709
+ }
710
+ }
711
+ if (!foundRequiredElement) {
712
+ return false;
713
+ }
708
714
  }
709
715
  }
710
716
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/cli",
3
- "version": "4.7.1",
3
+ "version": "4.7.2-dev-20230330T154908.0",
4
4
  "description": "Capacitor: Cross-platform apps with JavaScript and the web",
5
5
  "homepage": "https://capacitorjs.com",
6
6
  "author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
@@ -84,5 +84,5 @@
84
84
  "publishConfig": {
85
85
  "access": "public"
86
86
  },
87
- "gitHead": "5dc164d02094b03ccea79a3efa97f958feb7eda6"
87
+ "gitHead": "5ce68bbb290f63ca1d15a9f87e0c2254896e0bfe"
88
88
  }