diff --git a/packages/firebase_messaging_tvos/CHANGELOG.md b/packages/firebase_messaging_tvos/CHANGELOG.md index cf4c7c6..5d611fd 100644 --- a/packages/firebase_messaging_tvos/CHANGELOG.md +++ b/packages/firebase_messaging_tvos/CHANGELOG.md @@ -1,3 +1,12 @@ +## 0.0.3 + +* **Fix:** ship the privacy manifest in the app. `PrivacyInfo.xcprivacy` was in + the package but declared by neither the podspec nor `Package.swift`, so it + never reached the built app, and App Store uploads could be rejected with + ITMS-91061. It moves to `tvos/Classes/Resources/` (SwiftPM only bundles + resources inside the target directory) and is declared in both, as upstream + does. + ## 0.0.2 * Add Swift Package Manager support: ships `tvos/Package.swift` (one Objective-C diff --git a/packages/firebase_messaging_tvos/README.md b/packages/firebase_messaging_tvos/README.md index 30af1d9..1c97df7 100644 --- a/packages/firebase_messaging_tvos/README.md +++ b/packages/firebase_messaging_tvos/README.md @@ -16,7 +16,7 @@ alongside it: ```yaml dependencies: firebase_messaging: ^16.4.1 - firebase_messaging_tvos: ^0.0.2 + firebase_messaging_tvos: ^0.0.3 ``` The native plugin registers automatically through flutter-tvos' plugin diff --git a/packages/firebase_messaging_tvos/pubspec.yaml b/packages/firebase_messaging_tvos/pubspec.yaml index 6e64c21..18cafdd 100644 --- a/packages/firebase_messaging_tvos/pubspec.yaml +++ b/packages/firebase_messaging_tvos/pubspec.yaml @@ -2,7 +2,7 @@ name: firebase_messaging_tvos description: >- tvOS (Apple TV) implementation of the firebase_messaging Flutter plugin, providing Firebase Cloud Messaging push notifications on Apple TV. -version: 0.0.2 +version: 0.0.3 homepage: https://fluttertv.dev repository: https://github.com/fluttertv/plugins/tree/main/packages/firebase_messaging_tvos issue_tracker: https://github.com/fluttertv/plugins/issues diff --git a/packages/firebase_messaging_tvos/tvos/Resources/PrivacyInfo.xcprivacy b/packages/firebase_messaging_tvos/tvos/Classes/Resources/PrivacyInfo.xcprivacy similarity index 100% rename from packages/firebase_messaging_tvos/tvos/Resources/PrivacyInfo.xcprivacy rename to packages/firebase_messaging_tvos/tvos/Classes/Resources/PrivacyInfo.xcprivacy diff --git a/packages/firebase_messaging_tvos/tvos/Package.swift b/packages/firebase_messaging_tvos/tvos/Package.swift index 84fb02b..16eebc1 100644 --- a/packages/firebase_messaging_tvos/tvos/Package.swift +++ b/packages/firebase_messaging_tvos/tvos/Package.swift @@ -5,7 +5,7 @@ import PackageDescription // Keep in step with `version:` in pubspec.yaml and `s.version` in the podspec. -let libraryVersion = "0.0.2" +let libraryVersion = "0.0.3" let package = Package( name: "firebase_messaging_tvos", @@ -40,6 +40,9 @@ let package = Package( .product(name: "FlutterFramework", package: "FlutterFramework"), ], path: "Classes", + // The privacy manifest (Classes/Resources/PrivacyInfo.xcprivacy), so it + // reaches the app bundle as it does through the podspec's resource_bundles. + resources: [.process("Resources")], publicHeadersPath: "include", cSettings: [ .headerSearchPath("include"), diff --git a/packages/firebase_messaging_tvos/tvos/firebase_messaging_tvos.podspec b/packages/firebase_messaging_tvos/tvos/firebase_messaging_tvos.podspec index 1d235e8..8f66a5e 100644 --- a/packages/firebase_messaging_tvos/tvos/firebase_messaging_tvos.podspec +++ b/packages/firebase_messaging_tvos/tvos/firebase_messaging_tvos.podspec @@ -6,7 +6,7 @@ # Pod::Spec.new do |s| s.name = 'firebase_messaging_tvos' - s.version = '0.0.2' + s.version = '0.0.3' s.summary = 'tvOS implementation of firebase_messaging.' s.description = <<-DESC tvOS implementation of firebase_messaging, the federated platform @@ -18,6 +18,7 @@ package that ships native code targeting Apple tvOS. s.source = { :path => '.' } s.source_files = 'Classes/**/*.{h,m,mm,swift}' s.public_header_files = 'Classes/**/include/**/*.h' + s.resource_bundles = { "#{s.module_name}_Privacy" => ['Classes/Resources/PrivacyInfo.xcprivacy'] } # Firebase/Messaging 12.x requires tvOS 15.0+ — bumped from the porter's # generic 13.0 default to satisfy that dependency. s.platform = :tvos, '15.0' @@ -39,7 +40,7 @@ package that ships native code targeting Apple tvOS. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'GCC_PREPROCESSOR_DEFINITIONS' => - '$(inherited) LIBRARY_VERSION=\"0.0.2\" LIBRARY_NAME=\"flutter-fire-fcm-tvos\"', + '$(inherited) LIBRARY_VERSION=\"0.0.3\" LIBRARY_NAME=\"flutter-fire-fcm-tvos\"', } # The ported Classes/ call into FIRMessaging (Firebase/Messaging) and into diff --git a/packages/flutter_secure_storage_tvos/CHANGELOG.md b/packages/flutter_secure_storage_tvos/CHANGELOG.md index c081b07..9fadaa4 100644 --- a/packages/flutter_secure_storage_tvos/CHANGELOG.md +++ b/packages/flutter_secure_storage_tvos/CHANGELOG.md @@ -1,3 +1,12 @@ +## 0.0.3 + +* **Fix:** ship the privacy manifest in the app. `PrivacyInfo.xcprivacy` was in + the package but declared by neither the podspec nor `Package.swift`, so it + never reached the built app, and App Store uploads could be rejected with + ITMS-91061. It moves to `tvos/Classes/Resources/` (SwiftPM only bundles + resources inside the target directory) and is declared in both, as upstream + does. + ## 0.0.2 * Add Swift Package Manager support: ships a `tvos/Package.swift` so the diff --git a/packages/flutter_secure_storage_tvos/README.md b/packages/flutter_secure_storage_tvos/README.md index db25d09..28db831 100644 --- a/packages/flutter_secure_storage_tvos/README.md +++ b/packages/flutter_secure_storage_tvos/README.md @@ -9,7 +9,7 @@ for [flutter-tvos](https://github.com/fluttertv/flutter-tvos) ```yaml dependencies: flutter_secure_storage: ^10.x - flutter_secure_storage_tvos: ^0.0.2 + flutter_secure_storage_tvos: ^0.0.3 ``` ## tvOS support diff --git a/packages/flutter_secure_storage_tvos/pubspec.yaml b/packages/flutter_secure_storage_tvos/pubspec.yaml index c0464ff..b6d40ac 100644 --- a/packages/flutter_secure_storage_tvos/pubspec.yaml +++ b/packages/flutter_secure_storage_tvos/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_secure_storage_tvos description: "tvOS (Apple TV) implementation of the flutter_secure_storage Flutter plugin, provided by flutter-tvos." -version: 0.0.2 +version: 0.0.3 homepage: https://fluttertv.dev repository: https://github.com/fluttertv/plugins/tree/main/packages/flutter_secure_storage_tvos issue_tracker: https://github.com/fluttertv/plugins/issues diff --git a/packages/flutter_secure_storage_tvos/tvos/Resources/PrivacyInfo.xcprivacy b/packages/flutter_secure_storage_tvos/tvos/Classes/Resources/PrivacyInfo.xcprivacy similarity index 100% rename from packages/flutter_secure_storage_tvos/tvos/Resources/PrivacyInfo.xcprivacy rename to packages/flutter_secure_storage_tvos/tvos/Classes/Resources/PrivacyInfo.xcprivacy diff --git a/packages/flutter_secure_storage_tvos/tvos/Package.swift b/packages/flutter_secure_storage_tvos/tvos/Package.swift index 62c0c0c..040a89a 100644 --- a/packages/flutter_secure_storage_tvos/tvos/Package.swift +++ b/packages/flutter_secure_storage_tvos/tvos/Package.swift @@ -28,6 +28,9 @@ let package = Package( .product(name: "FlutterFramework", package: "FlutterFramework"), ], path: "Classes", + // The privacy manifest (Classes/Resources/PrivacyInfo.xcprivacy), so it + // reaches the app bundle as it does through the podspec's resource_bundles. + resources: [.process("Resources")], swiftSettings: [ // Keep Swift `#if TARGET_OS_TV` branches active, matching the podspec. .define("TARGET_OS_TV"), diff --git a/packages/flutter_secure_storage_tvos/tvos/flutter_secure_storage_tvos.podspec b/packages/flutter_secure_storage_tvos/tvos/flutter_secure_storage_tvos.podspec index 4f4677c..a4d6f07 100644 --- a/packages/flutter_secure_storage_tvos/tvos/flutter_secure_storage_tvos.podspec +++ b/packages/flutter_secure_storage_tvos/tvos/flutter_secure_storage_tvos.podspec @@ -6,7 +6,7 @@ # Pod::Spec.new do |s| s.name = 'flutter_secure_storage_tvos' - s.version = '0.0.2' + s.version = '0.0.3' s.summary = 'tvOS implementation of flutter_secure_storage.' s.description = <<-DESC tvOS implementation of flutter_secure_storage, the federated platform @@ -16,8 +16,9 @@ package that ships native code targeting Apple tvOS. s.license = { :file => '../LICENSE' } s.author = { 'The FlutterTV Authors' => 'noreply@fluttertv.dev' } s.source = { :path => '.' } - s.source_files = 'Classes/**/*' + s.source_files = 'Classes/**/*.{h,m,mm,swift}' s.public_header_files = 'Classes/**/*.h' + s.resource_bundles = { 'flutter_secure_storage_tvos' => ['Classes/Resources/PrivacyInfo.xcprivacy'] } s.platform = :tvos, '13.0' s.swift_version = '5.0' diff --git a/packages/shared_preferences_tvos/CHANGELOG.md b/packages/shared_preferences_tvos/CHANGELOG.md index 279e029..7d711f9 100644 --- a/packages/shared_preferences_tvos/CHANGELOG.md +++ b/packages/shared_preferences_tvos/CHANGELOG.md @@ -1,3 +1,12 @@ +## 0.0.3 + +* **Fix:** ship the privacy manifest in the app. `PrivacyInfo.xcprivacy` was in + the package but declared by neither the podspec nor `Package.swift`, so it + never reached the built app, and App Store uploads could be rejected with + ITMS-91061. It moves to `tvos/Classes/Resources/` (SwiftPM only bundles + resources inside the target directory) and is declared in both, as upstream + does. + ## 0.0.2 * Add Swift Package Manager support: ships a `tvos/Package.swift` so the diff --git a/packages/shared_preferences_tvos/README.md b/packages/shared_preferences_tvos/README.md index 708bc93..c173035 100644 --- a/packages/shared_preferences_tvos/README.md +++ b/packages/shared_preferences_tvos/README.md @@ -15,7 +15,7 @@ this package directly alongside it: ```yaml dependencies: shared_preferences: ^2.x - shared_preferences_tvos: ^0.0.2 + shared_preferences_tvos: ^0.0.3 ``` Use `shared_preferences` exactly as on iOS — the tvOS implementation diff --git a/packages/shared_preferences_tvos/pubspec.yaml b/packages/shared_preferences_tvos/pubspec.yaml index ba23712..67e4c96 100644 --- a/packages/shared_preferences_tvos/pubspec.yaml +++ b/packages/shared_preferences_tvos/pubspec.yaml @@ -1,6 +1,6 @@ name: shared_preferences_tvos description: "tvOS (Apple TV) implementation of the shared_preferences Flutter plugin, provided by flutter-tvos." -version: 0.0.2 +version: 0.0.3 homepage: https://fluttertv.dev repository: https://github.com/fluttertv/plugins/tree/main/packages/shared_preferences_tvos issue_tracker: https://github.com/fluttertv/plugins/issues diff --git a/packages/shared_preferences_tvos/tvos/Resources/PrivacyInfo.xcprivacy b/packages/shared_preferences_tvos/tvos/Classes/Resources/PrivacyInfo.xcprivacy similarity index 100% rename from packages/shared_preferences_tvos/tvos/Resources/PrivacyInfo.xcprivacy rename to packages/shared_preferences_tvos/tvos/Classes/Resources/PrivacyInfo.xcprivacy diff --git a/packages/shared_preferences_tvos/tvos/Package.swift b/packages/shared_preferences_tvos/tvos/Package.swift index 1c74bd8..60d8d87 100644 --- a/packages/shared_preferences_tvos/tvos/Package.swift +++ b/packages/shared_preferences_tvos/tvos/Package.swift @@ -28,6 +28,9 @@ let package = Package( .product(name: "FlutterFramework", package: "FlutterFramework"), ], path: "Classes", + // The privacy manifest (Classes/Resources/PrivacyInfo.xcprivacy), so it + // reaches the app bundle as it does through the podspec's resource_bundles. + resources: [.process("Resources")], swiftSettings: [ // Keep Swift `#if TARGET_OS_TV` branches active, matching the podspec. .define("TARGET_OS_TV"), diff --git a/packages/shared_preferences_tvos/tvos/shared_preferences_tvos.podspec b/packages/shared_preferences_tvos/tvos/shared_preferences_tvos.podspec index 6717744..1142680 100644 --- a/packages/shared_preferences_tvos/tvos/shared_preferences_tvos.podspec +++ b/packages/shared_preferences_tvos/tvos/shared_preferences_tvos.podspec @@ -6,7 +6,7 @@ # Pod::Spec.new do |s| s.name = 'shared_preferences_tvos' - s.version = '0.0.2' + s.version = '0.0.3' s.summary = 'tvOS implementation of shared_preferences.' s.description = <<-DESC tvOS implementation of shared_preferences, the federated platform @@ -16,8 +16,9 @@ package that ships native code targeting Apple tvOS. s.license = { :file => '../LICENSE' } s.author = { 'The FlutterTV Authors' => 'noreply@fluttertv.dev' } s.source = { :path => '.' } - s.source_files = 'Classes/**/*' + s.source_files = 'Classes/**/*.{h,m,mm,swift}' s.public_header_files = 'Classes/**/*.h' + s.resource_bundles = { 'shared_preferences_tvos_privacy' => ['Classes/Resources/PrivacyInfo.xcprivacy'] } s.platform = :tvos, '13.0' s.swift_version = '5.0' diff --git a/packages/sqflite_tvos/CHANGELOG.md b/packages/sqflite_tvos/CHANGELOG.md index 80ca374..7d5a3c7 100644 --- a/packages/sqflite_tvos/CHANGELOG.md +++ b/packages/sqflite_tvos/CHANGELOG.md @@ -1,3 +1,10 @@ +## 0.0.3 + +* **Fix:** ship the privacy manifest in the app. `PrivacyInfo.xcprivacy` was in + the package but not declared in the podspec, so it never reached the built + app, and App Store uploads could be rejected with ITMS-91061. The podspec now + declares it in `resource_bundles`, as upstream does. + ## 0.0.2 * **Fix:** `getDatabasesPath()` now resolves under `Library/Caches` instead of diff --git a/packages/sqflite_tvos/README.md b/packages/sqflite_tvos/README.md index f460e7a..4cc02d8 100644 --- a/packages/sqflite_tvos/README.md +++ b/packages/sqflite_tvos/README.md @@ -11,7 +11,7 @@ for [flutter-tvos](https://github.com/fluttertv/flutter-tvos) ```yaml dependencies: sqflite: ^2.x - sqflite_tvos: ^0.0.1 + sqflite_tvos: ^0.0.3 path_provider_tvos: ^0.0.1 # for a writable DB directory ``` diff --git a/packages/sqflite_tvos/pubspec.yaml b/packages/sqflite_tvos/pubspec.yaml index 60e30b1..0fe0ac3 100644 --- a/packages/sqflite_tvos/pubspec.yaml +++ b/packages/sqflite_tvos/pubspec.yaml @@ -1,6 +1,6 @@ name: sqflite_tvos description: "tvOS (Apple TV) implementation of the sqflite Flutter plugin, provided by flutter-tvos." -version: 0.0.2 +version: 0.0.3 homepage: https://fluttertv.dev repository: https://github.com/fluttertv/plugins/tree/main/packages/sqflite_tvos issue_tracker: https://github.com/fluttertv/plugins/issues diff --git a/packages/sqflite_tvos/tvos/sqflite_tvos.podspec b/packages/sqflite_tvos/tvos/sqflite_tvos.podspec index 1e83989..99eb3f9 100644 --- a/packages/sqflite_tvos/tvos/sqflite_tvos.podspec +++ b/packages/sqflite_tvos/tvos/sqflite_tvos.podspec @@ -6,7 +6,7 @@ # Pod::Spec.new do |s| s.name = 'sqflite_tvos' - s.version = '0.0.2' + s.version = '0.0.3' s.summary = 'tvOS implementation of sqflite.' s.description = <<-DESC tvOS implementation of sqflite, the federated platform @@ -18,6 +18,7 @@ package that ships native code targeting Apple tvOS. s.source = { :path => '.' } s.source_files = 'Classes/**/*.{h,m,mm,swift}' s.public_header_files = 'Classes/**/include/**/*.h' + s.resource_bundles = { 'sqflite_tvos_privacy' => ['Resources/PrivacyInfo.xcprivacy'] } s.platform = :tvos, '13.0' s.swift_version = '5.0' diff --git a/packages/url_launcher_tvos/CHANGELOG.md b/packages/url_launcher_tvos/CHANGELOG.md index fb2da6c..f5bdeb1 100644 --- a/packages/url_launcher_tvos/CHANGELOG.md +++ b/packages/url_launcher_tvos/CHANGELOG.md @@ -1,3 +1,12 @@ +## 0.0.2 + +* **Fix:** the privacy manifest now reaches the app when the package is linked + through Swift Package Manager, which flutter-tvos uses for any plugin that + ships a `tvos/Package.swift`. The SwiftPM target did not declare it, so the + app was missing it, and App Store uploads could be rejected with ITMS-91061. + `PrivacyInfo.xcprivacy` moves to `tvos/Classes/Resources/` (SwiftPM only + bundles resources inside the target directory) and the podspec follows. + ## 0.0.1 * Initial tvOS implementation of `url_launcher`, ported from `url_launcher_ios` diff --git a/packages/url_launcher_tvos/README.md b/packages/url_launcher_tvos/README.md index 4cd13e0..2696d5c 100644 --- a/packages/url_launcher_tvos/README.md +++ b/packages/url_launcher_tvos/README.md @@ -15,7 +15,7 @@ package **explicitly** alongside it: ```yaml dependencies: url_launcher: ^6.3.2 - url_launcher_tvos: ^0.0.1 + url_launcher_tvos: ^0.0.2 ``` Then use the `url_launcher` API as usual — but not every call behaves as it does diff --git a/packages/url_launcher_tvos/pubspec.yaml b/packages/url_launcher_tvos/pubspec.yaml index 65fb5a3..d8452e3 100644 --- a/packages/url_launcher_tvos/pubspec.yaml +++ b/packages/url_launcher_tvos/pubspec.yaml @@ -1,6 +1,6 @@ name: url_launcher_tvos description: "The tvOS (Apple TV) implementation of the url_launcher plugin, for launching URLs from Flutter apps." -version: 0.0.1 +version: 0.0.2 homepage: https://fluttertv.dev repository: https://github.com/fluttertv/plugins/tree/main/packages/url_launcher_tvos issue_tracker: https://github.com/fluttertv/plugins/issues diff --git a/packages/url_launcher_tvos/tvos/Resources/PrivacyInfo.xcprivacy b/packages/url_launcher_tvos/tvos/Classes/Resources/PrivacyInfo.xcprivacy similarity index 100% rename from packages/url_launcher_tvos/tvos/Resources/PrivacyInfo.xcprivacy rename to packages/url_launcher_tvos/tvos/Classes/Resources/PrivacyInfo.xcprivacy diff --git a/packages/url_launcher_tvos/tvos/Package.swift b/packages/url_launcher_tvos/tvos/Package.swift index 081a719..c9424a3 100644 --- a/packages/url_launcher_tvos/tvos/Package.swift +++ b/packages/url_launcher_tvos/tvos/Package.swift @@ -27,7 +27,10 @@ let package = Package( dependencies: [ .product(name: "FlutterFramework", package: "FlutterFramework"), ], - path: "Classes" + path: "Classes", + // The privacy manifest (Classes/Resources/PrivacyInfo.xcprivacy), so it + // reaches the app bundle as it does through the podspec's resource_bundles. + resources: [.process("Resources")] ), ] ) diff --git a/packages/url_launcher_tvos/tvos/url_launcher_tvos.podspec b/packages/url_launcher_tvos/tvos/url_launcher_tvos.podspec index 5e757f9..38d9e9f 100644 --- a/packages/url_launcher_tvos/tvos/url_launcher_tvos.podspec +++ b/packages/url_launcher_tvos/tvos/url_launcher_tvos.podspec @@ -6,7 +6,7 @@ # Pod::Spec.new do |s| s.name = 'url_launcher_tvos' - s.version = '0.0.1' + s.version = '0.0.2' s.summary = 'tvOS implementation of url_launcher.' s.description = <<-DESC tvOS implementation of url_launcher, the federated platform @@ -17,7 +17,7 @@ package that ships native code targeting Apple tvOS. s.author = { 'The FlutterTV Authors' => 'noreply@fluttertv.dev' } s.source = { :path => '.' } s.source_files = 'Classes/**/*.swift' - s.resource_bundles = { 'url_launcher_tvos_privacy' => ['Resources/PrivacyInfo.xcprivacy'] } + s.resource_bundles = { 'url_launcher_tvos_privacy' => ['Classes/Resources/PrivacyInfo.xcprivacy'] } s.platform = :tvos, '13.0' s.swift_version = '5.0' diff --git a/packages/video_player_tvos/CHANGELOG.md b/packages/video_player_tvos/CHANGELOG.md index 4330818..d4dfecf 100644 --- a/packages/video_player_tvos/CHANGELOG.md +++ b/packages/video_player_tvos/CHANGELOG.md @@ -1,3 +1,10 @@ +## 0.0.2 + +* **Fix:** ship the privacy manifest in the app. `PrivacyInfo.xcprivacy` was in + the package but not declared in the podspec, so it never reached the built + app, and App Store uploads could be rejected with ITMS-91061. The podspec now + declares it in `resource_bundles`, as upstream does. + ## 0.0.1 Initial release — tvOS implementation of `video_player` for diff --git a/packages/video_player_tvos/README.md b/packages/video_player_tvos/README.md index d7b4276..8853b6f 100644 --- a/packages/video_player_tvos/README.md +++ b/packages/video_player_tvos/README.md @@ -13,7 +13,7 @@ for [flutter-tvos](https://github.com/fluttertv/flutter-tvos) ```yaml dependencies: video_player: ^2.x - video_player_tvos: ^0.0.1 + video_player_tvos: ^0.0.2 # Required only if you use VideoPlayerController.file with a temp path: path_provider_tvos: ^0.0.1 ``` diff --git a/packages/video_player_tvos/pubspec.yaml b/packages/video_player_tvos/pubspec.yaml index 8cdb996..9397272 100644 --- a/packages/video_player_tvos/pubspec.yaml +++ b/packages/video_player_tvos/pubspec.yaml @@ -1,6 +1,6 @@ name: video_player_tvos description: "tvOS (Apple TV) implementation of the video_player Flutter plugin, provided by flutter-tvos." -version: 0.0.1 +version: 0.0.2 homepage: https://fluttertv.dev repository: https://github.com/fluttertv/plugins/tree/main/packages/video_player_tvos issue_tracker: https://github.com/fluttertv/plugins/issues diff --git a/packages/video_player_tvos/tvos/video_player_tvos.podspec b/packages/video_player_tvos/tvos/video_player_tvos.podspec index 499af8a..b18e56b 100644 --- a/packages/video_player_tvos/tvos/video_player_tvos.podspec +++ b/packages/video_player_tvos/tvos/video_player_tvos.podspec @@ -6,7 +6,7 @@ # Pod::Spec.new do |s| s.name = 'video_player_tvos' - s.version = '0.0.1' + s.version = '0.0.2' s.summary = 'tvOS implementation of video_player.' s.description = <<-DESC tvOS implementation of video_player, the federated platform @@ -18,6 +18,7 @@ package that ships native code targeting Apple tvOS. s.source = { :path => '.' } s.source_files = 'Classes/**/*.{h,m,mm,swift}' s.public_header_files = 'Classes/**/include/**/*.h' + s.resource_bundles = { 'video_player_tvos_privacy' => ['Resources/PrivacyInfo.xcprivacy'] } s.platform = :tvos, '13.0' s.swift_version = '5.0' diff --git a/packages/wakelock_plus_tvos/CHANGELOG.md b/packages/wakelock_plus_tvos/CHANGELOG.md index 529d280..972bee2 100644 --- a/packages/wakelock_plus_tvos/CHANGELOG.md +++ b/packages/wakelock_plus_tvos/CHANGELOG.md @@ -1,3 +1,10 @@ +## 0.0.2 + +* **Fix:** ship the privacy manifest in the app. `PrivacyInfo.xcprivacy` was in + the package but not declared in the podspec, so it never reached the built + app, and App Store uploads could be rejected with ITMS-91061. The podspec now + declares it in `resource_bundles`, as upstream does. + ## 0.0.1 Initial release — tvOS implementation of `wakelock_plus` for diff --git a/packages/wakelock_plus_tvos/README.md b/packages/wakelock_plus_tvos/README.md index fcd02a2..a701330 100644 --- a/packages/wakelock_plus_tvos/README.md +++ b/packages/wakelock_plus_tvos/README.md @@ -11,7 +11,7 @@ for [flutter-tvos](https://github.com/fluttertv/flutter-tvos). ```yaml dependencies: wakelock_plus: ^1.x - wakelock_plus_tvos: ^0.0.1 + wakelock_plus_tvos: ^0.0.2 ``` ## tvOS support diff --git a/packages/wakelock_plus_tvos/pubspec.yaml b/packages/wakelock_plus_tvos/pubspec.yaml index 27de51a..af7b722 100644 --- a/packages/wakelock_plus_tvos/pubspec.yaml +++ b/packages/wakelock_plus_tvos/pubspec.yaml @@ -1,6 +1,6 @@ name: wakelock_plus_tvos description: "tvOS (Apple TV) implementation of the wakelock_plus Flutter plugin, provided by flutter-tvos." -version: 0.0.1 +version: 0.0.2 homepage: https://fluttertv.dev repository: https://github.com/fluttertv/plugins/tree/main/packages/wakelock_plus_tvos issue_tracker: https://github.com/fluttertv/plugins/issues diff --git a/packages/wakelock_plus_tvos/tvos/wakelock_plus_tvos.podspec b/packages/wakelock_plus_tvos/tvos/wakelock_plus_tvos.podspec index a66f543..57ef8ca 100644 --- a/packages/wakelock_plus_tvos/tvos/wakelock_plus_tvos.podspec +++ b/packages/wakelock_plus_tvos/tvos/wakelock_plus_tvos.podspec @@ -6,7 +6,7 @@ # Pod::Spec.new do |s| s.name = 'wakelock_plus_tvos' - s.version = '0.0.1' + s.version = '0.0.2' s.summary = 'tvOS implementation of wakelock_plus.' s.description = <<-DESC tvOS implementation of wakelock_plus, the federated platform @@ -18,6 +18,7 @@ package that ships native code targeting Apple tvOS. s.source = { :path => '.' } s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' + s.resource_bundles = { 'wakelock_plus_tvos_privacy' => ['Resources/PrivacyInfo.xcprivacy'] } s.platform = :tvos, '13.0' s.swift_version = '5.0'