Blog RSS Feed

Cordova iOS 7.1.0 Released!
By: Bryan Ellis
03 Apr 2024

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

  • SplashScreenBackgroundColor preference support

    This preference allows you to set the splashscreen's background colour. If no SplashScreenBackgroundColor is provided, it will fall back to the BackgroundColor, which is the current behavior, and then fallback to the system background colour when nothing is defined.

  • privacy-manifest Support

    This release supplies the templated blank privacy manifest file, PrivacyInfo.xcprivacy which can be configured from config.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, and NSPrivacyTrackingDomains will 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_SPECIFIER for manual codesigning

    Allows you to use either the UUID or name value from the provisioning profile for the build flag provisioningProfile in either the build.json configuration 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: SplashScreenBackgroundColor preference support
  • GH-1406 feat: add privacy-manifest config support
  • GH-1383 feat: add PrivacyInfo.xcprivacy for CordovaLib & app template

Fixes:

  • GH-1405 fix: use PROVISIONING_PROFILE_SPECIFIER for 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/traverse from 7.21.4 to 7.23.2
  • GH-1380 chore: Update Slack signup link in SUPPORT_QUESTION.md

CI:

  • GH-1412 ci: Fix ObjC testing with latest Xcode
  • GH-1408 ci(gh-action): add Apache RAT & package license checker workflow w/ license header additions