Skip to content

fix: keep wear payment links in one bitkit task #2187

Done

Description

@jvsena42

Part of #2105.
Source: review, #2182

The watch's MainActivity is singleTop. A lightning:, bitcoin: or spark: link started without FLAG_ACTIVITY_NEW_TASK from another app opens a second MainActivity in the caller's task, next to the one already running.

Proposal

  • Use singleTask (or route links through a trampoline activity) and check task and intent delivery on a device.

Done when

  • A journey opens a link from another app's task while Bitkit runs and ends with one Bitkit task.

Found in review round 1 of the Wear OS payments PR.

Activity

  1. jvsena42 commented on Nov 28, 2026

    @jvsena42
    MemberAuthor

    Fixed in #2192: the watch's MainActivity is now singleTask, like the phone's, so links, taps and the tile reach the one running task.

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