Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: feimenggo/protocol_handler
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: leanflutter/protocol_handler
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 258 files changed
  • 1 contributor

Commits on Nov 9, 2026

  1. Build protocol_handler 0.3.0 on nativeapi

    Merge the federated packages into one plugin package and implement it on
    nativeapi's ProtocolHandler. The Dart API is unchanged: register,
    getInitialUrl, onUrlReceived, addListener / removeListener, listeners and
    hasListeners. URLs that arrive while nothing listens are now queued and
    delivered to the first listener, and a launch URL delivered after
    getInitialUrl() returned null reaches the listeners too.
    
    The native parts only hand URLs that arrive before Dart runs to the
    nativeapi core library: a thin plugin on Android (VIEW intents), iOS (app
    and scene delegate URLs) and macOS (early load for the kAEGetURL handler).
    On Windows, call ProtocolHandlerForwardToRunningInstance() first thing in
    wWinMain so a second instance forwards its URL and exits.
    
    Regenerate the example for Flutter 3.47 without third-party dependencies.
    
    Breaking: requires Dart 3.13+, Flutter 3.47+ and nativeapi 0.5.11+;
    register() completes with a bool; the protocol_handler_android, _ios,
    _macos, _windows and _platform_interface packages are gone.
    lijy91 committed Nov 9, 2026
    Configuration menu
    Copy the full SHA
    35506a1 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2026

  1. Require Flutter 3.50 / Dart 3.14 and nativeapi 0.6.0

    Raise the SDK constraints of the workspace, package and example, depend on
    nativeapi ^0.6.0, and run CI on Flutter 3.50.0 (it was still on 3.16.8).
    Move the Android plugin and example to AGP 9.3.1, Gradle 9.5.0 and Kotlin
    2.4.20, which Flutter 3.50 requires. The example imports
    package:material_ui, as Flutter 3.50 deprecates
    package:flutter/material.dart.
    lijy91 committed Nov 12, 2026
    Configuration menu
    Copy the full SHA
    088b5c0 View commit details
    Browse the repository at this point in the history
  2. Move to a single-package layout

    Move the package from packages/protocol_handler/ to the repository root, with
    the app in example/, like tray_manager, screen_retriever and window_manager.
    Drop the melos workspace: its format-check script still passed the removed
    `dart format --fix`.
    
    Replace the build, lint and test workflows with one CI workflow: format and
    analyze, tests on Linux, macOS and Windows (installing the GTK 3, X11 and Xi
    packages cnativeapi's build hook needs on Linux), and Android, iOS, macOS and
    Windows example builds. The web build is gone, as the plugin has no web
    implementation. Add the tag-triggered pub.dev publish workflow the other
    packages use.
    lijy91 committed Nov 12, 2026
    Configuration menu
    Copy the full SHA
    bcd6047 View commit details
    Browse the repository at this point in the history
  3. Fold the publish workflow into ci.yml

    Keep one workflow: CI now also runs on v<version> tags, and its publish job
    publishes to pub.dev once every other job has passed.
    lijy91 committed Nov 12, 2026
    Configuration menu
    Copy the full SHA
    8e55eea View commit details
    Browse the repository at this point in the history
  4. Restore the publish workflow

    Releases keep publishing from publish.yml on v<version> tags; ci.yml goes
    back to branches and pull requests only. This reverts commit 8e55eea.
    lijy91 committed Nov 12, 2026
    Configuration menu
    Copy the full SHA
    7226d79 View commit details
    Browse the repository at this point in the history
  5. Release protocol_handler 0.3.0

    Require Flutter 3.50 / Dart 3.14 and nativeapi 0.6.0.
    lijy91 committed Nov 12, 2026
    Configuration menu
    Copy the full SHA
    7a081b4 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2026

  1. Fix iOS protocol delegate lifetime and document NativeAPI migration

    Retain the iOS lifecycle delegate through the Flutter registrar so cold and warm URL callbacks survive registration. Update both runner guides, document every public capability and platform limitation, and disable duplicate Flutter routing in the mobile examples.
    
    Verified through real OS URL activation: 14 checks each on macOS, Windows 11, Android emulator and iOS simulator, plus package analysis/tests. The iOS run reproduced URL loss before the lifetime fix and passed after it.
    lijy91 committed Nov 14, 2026
    Configuration menu
    Copy the full SHA
    73321dd View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2026

  1. Require nativeapi 0.6.2

    lijy91 committed Nov 22, 2026
    Configuration menu
    Copy the full SHA
    75bcf28 View commit details
    Browse the repository at this point in the history
Loading