Privacy Manifest Support for Hybrid Plugins
MobilePush React Native and Cordova plugins currently support a minimum iOS deployment version of 11.0. However, the native MobilePush iOS SDK v8.1.2 that includes support for privacy manifests has a minimum deployment target of 12.0. For your hybrid framework apps to be compliant with Apple's third-party SDK privacy requirements, you must change the minimum deployment target for your apps to 12.0
and update pods.
By default, the React Native Plugin automatically fetches the most recent version of the MobilePush SDK, as long as the SDK’s minimum deployment target requirement is satisfied.
To ensure compatibility with the privacy manifest in SDK version 8.1.2 or later, your application must support a deployment target of iOS 12 or higher.
To update your app's deployment target, follow these steps.
Updating the deployment target to 12.0
eliminates support for iOS 11.0 or earlier, depending on your app's previous configurations.
- Open your iOS project in Xcode.
- In the Navigation section, select your project and then select your project target.
- Under the General tab, update your Minimum Deployments to
12.0
. - Run
pod update
in yourios
folder from the command line.
Performing these steps fetches MarketingCloudSDK 8.1.2
or later versions (for existing apps), which contain the privacy manifest.
Similar to the React Native plugin, the Cordova Plugin also automatically fetches the most recent version of the MobilePush SDK, as long as the SDK’s minimum deployment target requirement is satisfied.
To comply with the privacy manifest in SDK version 8.1.2 or later, your application must support a deployment target of iOS 12 or higher.
To update your app's deployment target, follow these steps.
Updating the deployment target to 12.0
eliminates support for iOS 11.0 or earlier, depending on your app's previous configurations.
-
Navigate to
config.xml
. -
Update the
deployment-target
as shown in the following example. -
Remove and then readd the iOS platform using the command line.