Skip to content

Commit b72fe7d

Browse files
Added privacy manifest for MacOS
1 parent 6f761a4 commit b72fe7d

File tree

8 files changed

+27
-8
lines changed

8 files changed

+27
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ Send a submission request to the [Submit App](https://inappwebview.dev/submit-ap
4646
- Dart sdk: "^3.5.0"
4747
- Flutter: ">=3.24.0"
4848
- Android: `minSdkVersion >= 19`, `compileSdk >= 34`, [AGP](https://developer.android.com/build/releases/gradle-plugin) version `>= 7.3.0` (use [Android Studio - Android Gradle plugin Upgrade Assistant](https://developer.android.com/build/agp-upgrade-assistant) for help), support for `androidx` (see [AndroidX Migration](https://flutter.dev/docs/development/androidx-migration) to migrate an existing app)
49-
- iOS 9.0+: `--ios-language swift`, Xcode version `>= 14.3`
50-
- MacOS 10.11+: Xcode version `>= 14.3`
49+
- iOS 12.0+: `--ios-language swift`, Xcode version `>= 16.0`
50+
- MacOS 10.14+: Xcode version `>= 16.0`
5151

5252
## Installation
5353

flutter_inappwebview/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
- Added initial Windows support
44
- Added `InAppWebView` widget MacOS support
5+
- Added privacy manifest for MacOS
56
- Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.
67
- Updated androidx.webkit:webkit:1.8.0 to androidx.webkit:webkit:1.12.0
78
- Updated androidx.browser:browser:1.6.0 to androidx.browser:browser:1.8.0
89
- Fixed "[MACOS] launching InAppBrowser with 'hidden: true' calls onExit immediately" [#1939](https://github.com/pichillilorenzo/flutter_inappwebview/issues/1939)
910
- Fixed XCode 16 build
1011
- Removed unsupported WebViewFeature.SUPPRESS_ERROR_PAGE
12+
- Merged "Add privacy manifest for iOS" [#2029](https://github.com/pichillilorenzo/flutter_inappwebview/pull/2029) (thanks to [ueman](https://github.com/ueman))
1113

1214
## 6.0.0
1315

flutter_inappwebview/example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '12.0'
2+
platform :ios, '12.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

flutter_inappwebview_ios/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
- Fixed XCode 16 build
44
- Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.
5+
- Merged "Add privacy manifest for iOS" [#2029](https://github.com/pichillilorenzo/flutter_inappwebview/pull/2029) (thanks to [ueman](https://github.com/ueman))
56

67
## 1.0.13
78

flutter_inappwebview_ios/ios/flutter_inappwebview_ios.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ A new Flutter plugin.
3030

3131
s.swift_version = '5.0'
3232

33-
s.platforms = { :ios => '11.0' }
34-
s.dependency 'OrderedSet', '~>6.0'
33+
s.platforms = { :ios => '12.0' }
34+
s.dependency 'OrderedSet', '~>6.0.3'
3535

3636
s.default_subspec = 'Core'
3737

3838
s.subspec 'Core' do |core|
39-
core.platform = :ios, '9.0'
39+
core.platform = :ios, '12.0'
4040
end
4141
end

flutter_inappwebview_macos/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 1.1.0
22

33
- Added `InAppWebView` support
4+
- Added privacy manifest
45
- Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.
56
- Fixed "[MACOS] launching InAppBrowser with 'hidden: true' calls onExit immediately" [#1939](https://github.com/pichillilorenzo/flutter_inappwebview/issues/1939)
67
- Fixed XCode 16 build
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyTrackingDomains</key>
6+
<array/>
7+
<key>NSPrivacyAccessedAPITypes</key>
8+
<array/>
9+
<key>NSPrivacyCollectedDataTypes</key>
10+
<array/>
11+
<key>NSPrivacyTracking</key>
12+
<false/>
13+
</dict>
14+
</plist>

flutter_inappwebview_macos/macos/flutter_inappwebview_macos.podspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ A new Flutter plugin project.
1818
s.resources = 'Storyboards/**/*.storyboard'
1919
s.public_header_files = 'Classes/**/*.h'
2020
s.dependency 'FlutterMacOS'
21+
s.resource_bundles = {'flutter_inappwebview_macos_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
2122

22-
s.platform = :osx, '10.11'
23+
s.platform = :osx, '10.14'
2324
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
2425
s.swift_version = '5.0'
2526

26-
s.dependency 'OrderedSet', '~>5.0'
27+
s.dependency 'OrderedSet', '~>6.0.3'
2728
end

0 commit comments

Comments
 (0)