diff --git a/help/INSTALL-IOS-AUTO.md b/help/INSTALL-IOS-AUTO.md index 51f2d048..cc083a58 100644 --- a/help/INSTALL-IOS-AUTO.md +++ b/help/INSTALL-IOS-AUTO.md @@ -45,6 +45,85 @@ Edit **`Info.plist`**. Add the following items (Set **Value** as desired): ![](https://dl.dropboxusercontent.com/scl/fi/dh0sen3wxsgp1hox41le0/iOS-permissions-plist.png?rlkey=i3fipjdcpu7p1eez4mapukkpl&dl=1) +## Privacy Manifest + +Apple now requires apps provide a [Privacy Manifest for "sensitive" APIs](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api?language=objc) which could be abused for "fingerprinting" a user for malicious marketing activity. + +If your app does not yet have a *Privacy Manifest* (__`PrivacyInfo.xcprivacy`__), create one now: + +
+ ℹ️ Click here for detailed instructions... + +- In XCode, __`File -> New -> File...`__: + +![](https://dl.dropboxusercontent.com/scl/fi/n28028i3fbrxd67u491w2/file-new-PrivacyInfo.png?rlkey=sc7s1lyy8fli2c1hz2cfa4cpm&dl=1) + +- Be sure to enable your `Targets: [x] YourApp`: + +![](https://dl.dropboxusercontent.com/scl/fi/pmbfn5jypvns6r5pyhnui/file-new-PrivacyInfo-targets.png?rlkey=epvjffar23bxgyi9xax9ys40i&dl=1) + + +
+ + +It's best to edit this file's XML manually. +- :open_file_folder: `ios/PrivacyInfo.xcprivacy` +- Add the following __4 blocks__ within the `NSPrivacyAccessedAPITypes` `` container: + +```xml + + + + + + NSPrivacyAccessedAPITypes + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + + NSPrivacyAccessedAPITypeReasons + + CA92.1 + 1C8F.1 + + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + 0A2A.1 + + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryDiskSpace + NSPrivacyAccessedAPITypeReasons + + E174.1 + + + + + +``` + ## [Configure `react-native-background-fetch`](https://github.com/transistorsoft/react-native-background-fetch/blob/master/docs/INSTALL-AUTO-IOS.md#ios-auto-linking-setup) The BackgroundGeolocation SDK makes use internally on __`react-native-background-fetch`__. Regardless of whether you intend to implement the BackgroundFetch Javascript API in your app, you **must** perform the [Background Fetch iOS Setup](https://github.com/transistorsoft/react-native-background-fetch/blob/master/docs/INSTALL-AUTO-IOS.md#configure-background-capabilities) at __`react-native-background-fetch`__.