Commit 48c967e
committed
chore(plugins): stop tracking generated example/tvos build artifacts
`example/tvos/Flutter/GeneratedPluginRegistrant.swift` and friends are
generated by `flutter-tvos` at build time, but were committed across
all 11 plugin examples as empty stubs from the pre-federated-plugin
era. The CLI's build pipeline only regenerates these files when
*missing* — so the stale committed stubs were left in place on every
build, and every federated tvOS plugin with `dartPluginClass:` was
silently dropped from the registrant. Runtime symptoms:
`MissingPluginException` for `shared_preferences`, `audioplayers`,
`video_player`; `Bad state: <X>Platform.instance must be set` for the
new async APIs.
Adds a per-plugin `.gitignore` rule excluding the generated files
(`GeneratedPluginRegistrant.swift`, `Generated.xcconfig`,
`flutter_export_environment.sh`, `Podfile.lock`, `Pods/`, `.symlinks/`)
and untracks the stale stubs so the next clean build produces a
proper registrant.
No plugin source code change — Dart, Swift, pubspec, lib/, ios/, tvos/
all untouched. iOS/Android/macOS/web users see zero behavioural
difference; existing pub.dev versions remain valid.1 parent 498109f commit 48c967e
22 files changed
Lines changed: 110 additions & 138 deletions
File tree
- packages
- audioplayers_tvos
- example/tvos/Flutter
- connectivity_plus_tvos
- example/tvos/Flutter
- device_info_plus_tvos
- example/tvos/Flutter
- flutter_secure_storage_tvos
- example/tvos/Flutter
- flutter_tts_tvos
- example/tvos/Flutter
- package_info_plus_tvos
- example/tvos/Flutter
- path_provider_tvos
- example/tvos/Flutter
- sqflite_tvos
- example/tvos/Flutter
- video_player_tvos
- example/tvos/Flutter
- wakelock_plus_tvos
- example/tvos/Flutter
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
Lines changed: 0 additions & 14 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
Lines changed: 0 additions & 12 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
Lines changed: 0 additions & 12 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
Lines changed: 0 additions & 12 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
Lines changed: 0 additions & 12 deletions
This file was deleted.
0 commit comments