Skip to content

wakelock_plus_tvos: upstream ships tvOS since 1.8.0, and our README recommends a combination that does not build #47

Backlog

Description

@DenisovAV

wakelock_plus has declared a tvos platform itself since 1.8.0 (2026-09-01). An app that depends on both it and wakelock_plus_tvos does not build — this was noted in #46's description, where the test app pinned wakelock_plus <1.8.0 to work around it.

wakelock_plus_tvos 0.0.2 went to pub.dev on 2026-11-24, and its README still tells people to install the combination that does not build:

dependencies:
  wakelock_plus: ^1.x
  wakelock_plus_tvos: ^0.0.2

^1.x resolves to 1.8.2 today. Nothing in the package prevents it either: packages/wakelock_plus_tvos/pubspec.yaml depends on wakelock_plus_platform_interface: ^1.5.1 and not on wakelock_plus, so pub has no constraint to solve.

Verified

  • wakelock_plus 1.8.0 (2026-09-01), 1.8.1, 1.8.2 (2026-10-22, current) all list tvos under flutter.plugin.platforms.
  • Checked the other six packages touched by Ship the privacy manifest in the app for the seven packages that have one #46 — firebase_messaging, flutter_secure_storage, shared_preferences, sqflite, url_launcher, video_player: none of their current releases declares tvos. This is specific to wakelock.

Why it matters now

Before #46 this was a latent problem with an old package. Now a fresh version is on pub whose own install snippet produces a broken resolution, and whose changelog talks only about a privacy manifest. The first user to follow the README gets a build failure with nothing to explain it.

The decision to make

This is not only a docs fix — it is whether the package still has a reason to exist:

  1. Retire it. Upstream has covered tvOS for nearly three months. Mark wakelock_plus_tvos discontinued on pub, point the README at wakelock_plus 1.8.0+, and keep the published versions for apps pinned to the older line.
  2. Keep it for the old line. Then the README's snippet has to say wakelock_plus: '>=1.0.0 <1.8.0', the changelog has to say why, and a note belongs at the top of the README.

Either way the README snippet should stop recommending ^1.x today.

Found while reviewing #46 (docs/pr-reviews/plugins-46-review.md, finding 1).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions