deep_links_kit 0.1.1
deep_links_kit: ^0.1.1 copied to clipboard
One config for Android App Links and iOS Universal Links: a CLI that sets up the native projects and server files, plus router-agnostic link handling.
0.1.1 #
- Breaking: links now wait until you call
deepLinks.ready(), usually at the end of your splash. This replaces theCompleteryou passed towaitUntilReady. Without a splash, call it inmainafter the first frame.waitUntilReadystill works and replacesready()when given. - Route captures that decode to
/,?,#,\,.or..no longer match, so a crafted link cannot open a different in-app path. readyTimeoutnow also coverswaitUntilReady, and defaults to 30 seconds. A link that never gets ready no longer holds up later links.- The CLI reports malformed YAML, JSON or plist files and file errors as
failures instead of crashing, and rejects a non-boolean
disable_flutter_deep_linking. - Removed
executablesfrom the pubspec. Run the CLI withdart run deep_links_kitfrom your app, which is unchanged. - The example is a go_router shop app in Clean Architecture (splash, home,
product list and details) plus a small auto_route app, explained step by
step in
example/example.md.
0.1.0 #
DeepLinksKitruntime: route patterns, readiness waiting, ordered handling, duplicate cold-start link suppression, host and scheme filters.DeepLinkNavigator.customfor any router andDeepLinkNavigator.namedfor Navigator 1.0.- CLI
setup: Android intent filters, iOS associated domains, URL schemes and turning off Flutter's built-in deep linking. - CLI
generate:assetlinks.jsonandapple-app-site-association. - CLI
doctor: checks the native setup and the files served by each host. setupanddoctorwarn when the launcher activity'slaunchModelets a link start a second copy of the app.setuprecords its iOS changes indeep_links_kit.lock, so hosts and schemes removed from the config are removed from the iOS project too.