Closed dpogue closed 7 hours ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 88.42%. Comparing base (
24f7fa2
) to head (5005e3f
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I found a way to handle this in the platform that doesn't involve modifying cordova-common, so I'm going to close this
Platforms affected
iOS
Motivation and Context
We want a declarative way for a plugin to opt-in to using Package.swift for managing its code and resources as opposed to file copying with
source-file
/header-file
/resource-file
/etc.Description
Adds a helper method to detect if there is a
<platform name="ios" package="swift">
tag.Caveats:
package
attribute. If it exists, we assume it is a Swift package. Ideally I'd love for this to be a boolean attribute like in HTML, but XML doesn't support those 😒Testing
Added unit test case.
Checklist