Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/audioplayers_tvos/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
## 0.0.2

* Add Swift Package Manager support: ships a `tvos/Package.swift` so the
package can be consumed via SwiftPM (the Flutter 3.44 default) alongside the
existing CocoaPods podspec. No API or behaviour change.

## 0.0.1

Initial release — tvOS implementation of `audioplayers` for
Expand Down
9 changes: 8 additions & 1 deletion packages/audioplayers_tvos/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,7 +9,7 @@ for [flutter-tvos](https://github.com/fluttertv/flutter-tvos)
```yaml
dependencies:
audioplayers: ^6.x
audioplayers_tvos: ^0.0.1
audioplayers_tvos: ^0.0.2
```

## tvOS support
Expand All@@ -31,3 +31,10 @@ dependencies:
on tvOS); microphone-related options (no microphone).

See `PORTING_REPORT.md` for the port detail and checklist.

## Dependency management

Supports both **Swift Package Manager** and **CocoaPods** from a single
source tree. `flutter-tvos` wires the right one automatically: apps on
Flutter 3.44+ link it via SwiftPM (this package ships a `tvos/Package.swift`),
while CocoaPods-based projects keep using the podspec. No manual setup needed.
2 changes: 1 addition & 1 deletion packages/audioplayers_tvos/pubspec.yaml
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
name: audioplayers_tvos
description: "tvOS (Apple TV) implementation of the audioplayers 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/audioplayers_tvos
issue_tracker: https://github.com/fluttertv/plugins/issues
Expand Down
37 changes: 37 additions & 0 deletions packages/audioplayers_tvos/tvos/Package.swift
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
// swift-tools-version: 5.9
// Generated by `flutter-tvos plugin port`. Do not edit by hand.
//
// This manifest lets the package be consumed via Swift Package Manager. The
// target reuses the same `Classes/` sources the CocoaPods podspec compiles, so
// both dependency managers stay in sync from a single source tree.
import PackageDescription

let package = Package(
name: "audioplayers_tvos",
platforms: [
.tvOS(.v13),
],
products: [
.library(name: "audioplayers-tvos", targets: ["audioplayers_tvos"]),
],
dependencies: [
// Lets the target `import Flutter`. flutter-tvos generates a FlutterFramework
// package (binary target wrapping Flutter.xcframework) as a sibling of this
// package under the app's ephemeral SwiftPM packages, so `../FlutterFramework`
// resolves at build time. Matches stock Flutter's plugin Package.swift.
.package(name: "FlutterFramework", path: "../FlutterFramework"),
],
targets: [
.target(
name: "audioplayers_tvos",
dependencies: [
.product(name: "FlutterFramework", package: "FlutterFramework"),
],
path: "Classes",
swiftSettings: [
// Keep Swift `#if TARGET_OS_TV` branches active, matching the podspec.
.define("TARGET_OS_TV"),
]
),
]
)
6 changes: 6 additions & 0 deletions packages/connectivity_plus_tvos/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
## 0.0.2

* Add Swift Package Manager support: ships a `tvos/Package.swift` so the
package can be consumed via SwiftPM (the Flutter 3.44 default) alongside the
existing CocoaPods podspec. No API or behaviour change.

## 0.0.1

Initial release — tvOS implementation of `connectivity_plus` for
Expand Down
9 changes: 8 additions & 1 deletion packages/connectivity_plus_tvos/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@ for [flutter-tvos](https://github.com/fluttertv/flutter-tvos).
```yaml
dependencies:
connectivity_plus: ^7.x
connectivity_plus_tvos: ^0.0.1
connectivity_plus_tvos: ^0.0.2
```

## tvOS support
Expand All@@ -29,3 +29,10 @@ dependencies:
- Cellular detection (not applicable).

See `PORTING_REPORT.md` for the port detail and checklist.

## Dependency management

Supports both **Swift Package Manager** and **CocoaPods** from a single
source tree. `flutter-tvos` wires the right one automatically: apps on
Flutter 3.44+ link it via SwiftPM (this package ships a `tvos/Package.swift`),
while CocoaPods-based projects keep using the podspec. No manual setup needed.
2 changes: 1 addition & 1 deletion packages/connectivity_plus_tvos/pubspec.yaml
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
name: connectivity_plus_tvos
description: "tvOS (Apple TV) implementation of the connectivity_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/connectivity_plus_tvos
issue_tracker: https://github.com/fluttertv/plugins/issues
Expand Down
37 changes: 37 additions & 0 deletions packages/connectivity_plus_tvos/tvos/Package.swift
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
// swift-tools-version: 5.9
// Generated by `flutter-tvos plugin port`. Do not edit by hand.
//
// This manifest lets the package be consumed via Swift Package Manager. The
// target reuses the same `Classes/` sources the CocoaPods podspec compiles, so
// both dependency managers stay in sync from a single source tree.
import PackageDescription

let package = Package(
name: "connectivity_plus_tvos",
platforms: [
.tvOS(.v13),
],
products: [
.library(name: "connectivity-plus-tvos", targets: ["connectivity_plus_tvos"]),
],
dependencies: [
// Lets the target `import Flutter`. flutter-tvos generates a FlutterFramework
// package (binary target wrapping Flutter.xcframework) as a sibling of this
// package under the app's ephemeral SwiftPM packages, so `../FlutterFramework`
// resolves at build time. Matches stock Flutter's plugin Package.swift.
.package(name: "FlutterFramework", path: "../FlutterFramework"),
],
targets: [
.target(
name: "connectivity_plus_tvos",
dependencies: [
.product(name: "FlutterFramework", package: "FlutterFramework"),
],
path: "Classes",
swiftSettings: [
// Keep Swift `#if TARGET_OS_TV` branches active, matching the podspec.
.define("TARGET_OS_TV"),
]
),
]
)
6 changes: 6 additions & 0 deletions packages/flutter_secure_storage_tvos/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
## 0.0.2

* Add Swift Package Manager support: ships a `tvos/Package.swift` so the
package can be consumed via SwiftPM (the Flutter 3.44 default) alongside the
existing CocoaPods podspec. No API or behaviour change.

## 0.0.1

Initial release — tvOS implementation of `flutter_secure_storage`
Expand Down
9 changes: 8 additions & 1 deletion packages/flutter_secure_storage_tvos/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -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.1
flutter_secure_storage_tvos: ^0.0.2
```

## tvOS support
Expand All@@ -32,3 +32,10 @@ dependencies:
- Local Authentication (biometrics) — does not exist on tvOS.

See `PORTING_REPORT.md` for the port detail and checklist.

## Dependency management

Supports both **Swift Package Manager** and **CocoaPods** from a single
source tree. `flutter-tvos` wires the right one automatically: apps on
Flutter 3.44+ link it via SwiftPM (this package ships a `tvos/Package.swift`),
while CocoaPods-based projects keep using the podspec. No manual setup needed.
2 changes: 1 addition & 1 deletion packages/flutter_secure_storage_tvos/pubspec.yaml
Original file line numberDiff line numberDiff line change
@@ -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.1
version: 0.0.2
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
Expand Down
37 changes: 37 additions & 0 deletions packages/flutter_secure_storage_tvos/tvos/Package.swift
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
// swift-tools-version: 5.9
// Generated by `flutter-tvos plugin port`. Do not edit by hand.
//
// This manifest lets the package be consumed via Swift Package Manager. The
// target reuses the same `Classes/` sources the CocoaPods podspec compiles, so
// both dependency managers stay in sync from a single source tree.
import PackageDescription

let package = Package(
name: "flutter_secure_storage_tvos",
platforms: [
.tvOS(.v13),
],
products: [
.library(name: "flutter-secure-storage-tvos", targets: ["flutter_secure_storage_tvos"]),
],
dependencies: [
// Lets the target `import Flutter`. flutter-tvos generates a FlutterFramework
// package (binary target wrapping Flutter.xcframework) as a sibling of this
// package under the app's ephemeral SwiftPM packages, so `../FlutterFramework`
// resolves at build time. Matches stock Flutter's plugin Package.swift.
.package(name: "FlutterFramework", path: "../FlutterFramework"),
],
targets: [
.target(
name: "flutter_secure_storage_tvos",
dependencies: [
.product(name: "FlutterFramework", package: "FlutterFramework"),
],
path: "Classes",
swiftSettings: [
// Keep Swift `#if TARGET_OS_TV` branches active, matching the podspec.
.define("TARGET_OS_TV"),
]
),
]
)
6 changes: 6 additions & 0 deletions packages/path_provider_tvos/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
## 0.0.2

* Add Swift Package Manager support: ships a `tvos/Package.swift` so the
package can be consumed via SwiftPM (the Flutter 3.44 default) alongside the
existing CocoaPods podspec. No API or behaviour change.

## 0.0.1

Initial release — **hand-written, maintained** tvOS implementation of
Expand Down
9 changes: 8 additions & 1 deletion packages/path_provider_tvos/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,7 +14,7 @@ for [flutter-tvos](https://github.com/fluttertv/flutter-tvos).
```yaml
dependencies:
path_provider: ^2.x
path_provider_tvos: ^0.0.1
path_provider_tvos: ^0.0.2
```

## tvOS support
Expand All@@ -32,3 +32,10 @@ dependencies:
- `getExternalStorage*` → `UnsupportedError` (Android-only, same as iOS).

See `PORTING_REPORT.md` for detail.

## Dependency management

Supports both **Swift Package Manager** and **CocoaPods** from a single
source tree. `flutter-tvos` wires the right one automatically: apps on
Flutter 3.44+ link it via SwiftPM (this package ships a `tvos/Package.swift`),
while CocoaPods-based projects keep using the podspec. No manual setup needed.
2 changes: 1 addition & 1 deletion packages/path_provider_tvos/pubspec.yaml
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
name: path_provider_tvos
description: "tvOS (Apple TV) implementation of the path_provider 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/path_provider_tvos
issue_tracker: https://github.com/fluttertv/plugins/issues
Expand Down
37 changes: 37 additions & 0 deletions packages/path_provider_tvos/tvos/Package.swift
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
// swift-tools-version: 5.9
// Generated by `flutter-tvos plugin port`. Do not edit by hand.
//
// This manifest lets the package be consumed via Swift Package Manager. The
// target reuses the same `Classes/` sources the CocoaPods podspec compiles, so
// both dependency managers stay in sync from a single source tree.
import PackageDescription

let package = Package(
name: "path_provider_tvos",
platforms: [
.tvOS(.v13),
],
products: [
.library(name: "path-provider-tvos", targets: ["path_provider_tvos"]),
],
dependencies: [
// Lets the target `import Flutter`. flutter-tvos generates a FlutterFramework
// package (binary target wrapping Flutter.xcframework) as a sibling of this
// package under the app's ephemeral SwiftPM packages, so `../FlutterFramework`
// resolves at build time. Matches stock Flutter's plugin Package.swift.
.package(name: "FlutterFramework", path: "../FlutterFramework"),
],
targets: [
.target(
name: "path_provider_tvos",
dependencies: [
.product(name: "FlutterFramework", package: "FlutterFramework"),
],
path: "Classes",
swiftSettings: [
// Keep Swift `#if TARGET_OS_TV` branches active, matching the podspec.
.define("TARGET_OS_TV"),
]
),
]
)
6 changes: 6 additions & 0 deletions packages/shared_preferences_tvos/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
## 0.0.2

* Add Swift Package Manager support: ships a `tvos/Package.swift` so the
package can be consumed via SwiftPM (the Flutter 3.44 default) alongside the
existing CocoaPods podspec. No API or behaviour change.

## 0.0.1

Initial release — tvOS implementation of `shared_preferences` for
Expand Down
9 changes: 8 additions & 1 deletion packages/shared_preferences_tvos/README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -15,7 +15,7 @@ this package directly alongside it:
```yaml
dependencies:
shared_preferences: ^2.x
shared_preferences_tvos: ^0.0.1
shared_preferences_tvos: ^0.0.2
```

Use `shared_preferences` exactly as on iOS — the tvOS implementation
Expand All@@ -34,3 +34,10 @@ registers automatically (it is `NSUserDefaults`-backed).
- None. This plugin is fully functional on tvOS.

See `PORTING_REPORT.md` for the port detail and checklist.

## Dependency management

Supports both **Swift Package Manager** and **CocoaPods** from a single
source tree. `flutter-tvos` wires the right one automatically: apps on
Flutter 3.44+ link it via SwiftPM (this package ships a `tvos/Package.swift`),
while CocoaPods-based projects keep using the podspec. No manual setup needed.
2 changes: 1 addition & 1 deletion packages/shared_preferences_tvos/pubspec.yaml
Original file line numberDiff line numberDiff line change
@@ -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.1
version: 0.0.2
homepage: https://fluttertv.dev
repository: https://github.com/fluttertv/plugins/tree/main/packages/shared_preferences_tvos
issue_tracker: https://github.com/fluttertv/plugins/issues
Expand Down
37 changes: 37 additions & 0 deletions packages/shared_preferences_tvos/tvos/Package.swift
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
// swift-tools-version: 5.9
// Generated by `flutter-tvos plugin port`. Do not edit by hand.
//
// This manifest lets the package be consumed via Swift Package Manager. The
// target reuses the same `Classes/` sources the CocoaPods podspec compiles, so
// both dependency managers stay in sync from a single source tree.
import PackageDescription

let package = Package(
name: "shared_preferences_tvos",
platforms: [
.tvOS(.v13),
],
products: [
.library(name: "shared-preferences-tvos", targets: ["shared_preferences_tvos"]),
],
dependencies: [
// Lets the target `import Flutter`. flutter-tvos generates a FlutterFramework
// package (binary target wrapping Flutter.xcframework) as a sibling of this
// package under the app's ephemeral SwiftPM packages, so `../FlutterFramework`
// resolves at build time. Matches stock Flutter's plugin Package.swift.
.package(name: "FlutterFramework", path: "../FlutterFramework"),
],
targets: [
.target(
name: "shared_preferences_tvos",
dependencies: [
.product(name: "FlutterFramework", package: "FlutterFramework"),
],
path: "Classes",
swiftSettings: [
// Keep Swift `#if TARGET_OS_TV` branches active, matching the podspec.
.define("TARGET_OS_TV"),
]
),
]
)