We are happy to announce that we have just released Cordova iOS 7.1.0! This is one of Cordova's supported platforms for building iOS applications.
To upgrade:
cordova platform remove ios
cordova platform add ios@7.1.0
To install:
cordova platform add ios@7.1.0
Release Highlights
Features
-
SplashScreenBackgroundColorpreference supportThis preference allows you to set the splashscreen's background colour. If no
SplashScreenBackgroundColoris provided, it will fall back to theBackgroundColor, which is the current behavior, and then fallback to the system background colour when nothing is defined. -
privacy-manifestSupportThis release supplies the templated blank privacy manifest file,
PrivacyInfo.xcprivacywhich can be configured fromconfig.xml.This release focuses specifically on providing support for app developers to set this configuration, while a later release will introduce support for plugin developers.
It is recommended that plugin developers help app developers by providing in their plugin documentation the necessary configuration setup.
Below is an example config.xml entry that app developers can define to configure the privacy manifest file.
<platform name="ios"> <privacy-manifest> <key>NSPrivacyTracking</key> <true/> <key>NSPrivacyCollectedDataTypes</key> <array/> <key>NSPrivacyAccessedAPITypes</key> <array/> <key>NSPrivacyTrackingDomains</key> <array/> </privacy-manifest> </platform>The contents and values of
NSPrivacyTracking,NSPrivacyCollectedDataTypes,NSPrivacyAccessedAPITypes, andNSPrivacyTrackingDomainswill depend on the specific native APIs being utilized.It is recommended to read the Apple Developer documentation to better understand these parameters.
Fixes
-
Use
PROVISIONING_PROFILE_SPECIFIERfor manual codesigningAllows you to use either the UUID or name value from the provisioning profile for the build flag
provisioningProfilein either thebuild.jsonconfiguration file or via the CLI command. -
WASM MIME type error
Enables WebAssembly support in Cordova WebView.
Please report any issues you find on our Cordova-iOS GitHub issue tracker!
Changes include:
Features:
- GH-1411 feat:
SplashScreenBackgroundColorpreference support - GH-1406 feat: add
privacy-manifestconfig support - GH-1383 feat: add PrivacyInfo.xcprivacy for CordovaLib & app template
Fixes:
- GH-1405 fix: use
PROVISIONING_PROFILE_SPECIFIERfor manual codesigning - GH-1374 fix: WASM MIME type error by specifying it in Info.plist template
Chores:
- GH-1413 chore(deps): Modernize some dependencies
- GH-1404 chore: update package & package-lock
- GH-1382 chore(deps-dev): bump
@babel/traversefrom 7.21.4 to 7.23.2 - GH-1380 chore: Update Slack signup link in SUPPORT_QUESTION.md
CI:
