diff --git a/example/ios/Runner/Info.plist b/example/ios/Runner/Info.plist index 354abd2..ee9f523 100644 --- a/example/ios/Runner/Info.plist +++ b/example/ios/Runner/Info.plist @@ -2,6 +2,10 @@ + BGTaskSchedulerPermittedIdentifiers + + $(PRODUCT_BUNDLE_IDENTIFIER) + CADisableMinimumFrameDurationOnPhone CFBundleDevelopmentRegion @@ -24,6 +28,8 @@ ???? CFBundleVersion $(FLUTTER_BUILD_NUMBER) + DART_DEFINES + $(DART_DEFINES) LSRequiresIPhoneOS NSLocationAlwaysAndWhenInUseUsageDescription @@ -57,7 +63,5 @@ UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight - DART_DEFINES - $(DART_DEFINES) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index f3767d7..ff9d520 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -36,6 +36,7 @@ dev_dependencies: integration_test: sdk: flutter patrol: ">=3.3.0 <3.4.0" + patrol_finders: "<2.1.0" pub_semver: ^2.1.4 flutter: @@ -50,4 +51,4 @@ patrol: android: package_name: com.google.maps.flutter.navigation_example ios: - bundle_id: com.google.maps.flutter.navigationExample \ No newline at end of file + bundle_id: com.google.maps.flutter.navigationExample diff --git a/ios/Resources/PrivacyInfo.xcprivacy b/ios/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..dd39ee6 --- /dev/null +++ b/ios/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,122 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeCrashData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeDeviceID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypePerformanceData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypePreciseLocation + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeProductInteraction + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeUserID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryDiskSpace + NSPrivacyAccessedAPITypeReasons + + 85F4.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + 1C8F.1 + + + + + \ No newline at end of file diff --git a/ios/google_maps_navigation.podspec b/ios/google_maps_navigation.podspec index 33b185d..129f410 100644 --- a/ios/google_maps_navigation.podspec +++ b/ios/google_maps_navigation.podspec @@ -21,4 +21,5 @@ A Google Maps Navigation Flutter plugin. # Flutter.framework does not contain a i386 slice. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } s.swift_version = '5.0' + s.resource_bundles = {'google_maps_navigation_privacy_info' => ['Resources/PrivacyInfo.xcprivacy']} end