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
9 changes: 9 additions & 0 deletions packages/firebase_core_tvos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 0.0.2

* Constrain `firebase_core_platform_interface` to `>=7.1.0 <8.1.0`.
`CoreFirebaseOptions` is a 15-element Pigeon payload only in 7.1.0 and 8.0.0;
7.0.x predates the `recaptchaSiteKey` field and 8.1.0 removed it again, so
both send 14 elements. The generated native side here decodes index 14, so
outside that window `Firebase.initializeApp(options: ...)` read past the end
of the list. Unconstrained, a fresh resolve picked 8.1.0.

## 0.0.1

* Initial tvOS scaffolding generated by `flutter-tvos plugin port` from
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_core_tvos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ it:
```yaml
dependencies:
firebase_core: ^4.11.0
firebase_core_tvos: ^0.0.1
firebase_core_tvos: ^0.0.2
```

The native plugin registers automatically through flutter-tvos' plugin
Expand Down
10 changes: 9 additions & 1 deletion packages/firebase_core_tvos/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: firebase_core_tvos
description: >-
tvOS (Apple TV) implementation of the firebase_core Flutter plugin, enabling
Firebase initialization on Apple TV via the flutter-tvos toolchain.
version: 0.0.1
version: 0.0.2
homepage: https://fluttertv.dev
repository: https://github.com/fluttertv/plugins/tree/main/packages/firebase_core_tvos
issue_tracker: https://github.com/fluttertv/plugins/issues
Expand All @@ -17,6 +17,14 @@ dependencies:
flutter:
sdk: flutter
firebase_core: ^4.11.0
# Pinned to the window where CoreFirebaseOptions is a 15-element Pigeon
# payload, which is what this package's generated native side decodes
# (tvos/Classes/messages.g.m reads index 14). 7.0.x and 8.1.0 send 14
# elements — 8.1.0 dropped `recaptchaSiteKey` — so either end of this range
# makes Firebase.initializeApp(options: ...) read past the end of the list.
# Only 7.1.0 and 8.0.0 are compatible. Widening this requires regenerating
# the native Pigeon sources first.
firebase_core_platform_interface: ">=7.1.0 <8.1.0"

dev_dependencies:
flutter_lints: ^4.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
Pod::Spec.new do |s|
s.name = 'firebase_core_tvos'
s.version = '0.0.1'
s.version = '0.0.2'
s.summary = 'tvOS implementation of firebase_core.'
s.description = <<-DESC
tvOS implementation of firebase_core, the federated platform
Expand Down
Loading