Repository navigation
Comparing changes
Open a pull request
base repository: feimenggo/protocol_handler
base: main
head repository: leanflutter/protocol_handler
compare: main
- 8 commits
- 258 files changed
- 1 contributor
Commits on Nov 9, 2026
-
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.
Configuration menu - View commit details
-
Copy full SHA for 35506a1 - Browse repository at this point
Copy the full SHA 35506a1View commit details
Commits on Nov 12, 2026
-
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.
Configuration menu - View commit details
-
Copy full SHA for 088b5c0 - Browse repository at this point
Copy the full SHA 088b5c0View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for bcd6047 - Browse repository at this point
Copy the full SHA bcd6047View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 8e55eea - Browse repository at this point
Copy the full SHA 8e55eeaView commit details -
Releases keep publishing from publish.yml on v<version> tags; ci.yml goes back to branches and pull requests only. This reverts commit 8e55eea.
Configuration menu - View commit details
-
Copy full SHA for 7226d79 - Browse repository at this point
Copy the full SHA 7226d79View commit details -
Release protocol_handler 0.3.0
Require Flutter 3.50 / Dart 3.14 and nativeapi 0.6.0.
Configuration menu - View commit details
-
Copy full SHA for 7a081b4 - Browse repository at this point
Copy the full SHA 7a081b4View commit details
Commits on Nov 14, 2026
-
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.
Configuration menu - View commit details
-
Copy full SHA for 73321dd - Browse repository at this point
Copy the full SHA 73321ddView commit details
Commits on Nov 22, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 75bcf28 - Browse repository at this point
Copy the full SHA 75bcf28View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main