linkhopp 1.1.0
linkhopp: ^1.1.0 copied to clipboard
Deferred deep links for Flutter. Token-based, no device fingerprinting, flat price per app, contract with a German company. Android and iOS.
1.1.0 #
First version in which deferred deep linking can actually work on Android.
New
getInitialLink()andhandleLink()resolve the destination and metadata with the project's app key viaPOST /api/v1/resolve. The result hasmatchMethod: 'direct'. The SDK coalesces duplicate startup notifications across both entry points during resolution.resolveLink(url)resolves a LinkHopp short URL on demand. A failed attempt can be retried later.- Real Flutter plugin for Android (
android/, Java): reads the Play Install Referrer (Google libraryinstallreferrer:2.2). In 1.0.0 this native part was missing entirely and the call silently did nothing. LinkHopp.checkDeferredLinkResult()returns a result with status and reason (DeferredLinkStatus: matched, noMatch, noToken, alreadyChecked, referrerUnavailable, unauthorized, rateLimited, serverError, networkError, unsupportedPlatform, inProgress, internalError).allowClipboardparameter for iOS (see below).- Example app in
example/(Android and iOS), tests intest/.
Changed (behavior)
- Android: if Play reports
FEATURE_NOT_SUPPORTED, the result is remembered (statusnoToken, thenalreadyChecked) and not retried on every launch. Other Play errors are still retried. - README and example: links open the app only after the entry under
"App verbinden" in the dashboard, through the project's
<subdomain>.linkhopp.comaddress. - pubspec: the
repositoryentry (404) was removed,homepageis https://linkhopp.com. - iOS: the clipboard is read only when the app passes
allowClipboard: true, that is, after an explicit user action. Before, the SDK read it on every call by itself. - The SDK no longer sends device signals (operating system, language, time zone, screen size, device model). It sends only the token. There is no fingerprint matching any more. With the old signals no match came about according to the server evaluation anyway.
- Errors are no longer swallowed silently. A network or server error no longer
marks the check as done (before: never another attempt on this device).
checkDeferredLink()still returnsLink?. - iOS: the token is sent to the server with the prefix
linkhopp:. The server recognizes the origin from it and reportsclipboardinstead ofreferrer. - iOS: if the app finds no token, the message names the reason (empty, other text, paste not allowed) without showing the content.
- Android: the plugin declares the
INTERNETpermission itself. Flutter sets it only in debug builds; without it the request failed in release builds withFailed host lookup. - The start link is reported only once (before: through
getInitialLinkand additionally throughhandleLink). getInitialLink/handleLink: AppLinks is created on first use.dart:iois no longer imported, so the package can be included in web projects (the deferred check reportsunsupportedPlatformthere).- Minimum versions: Dart 3.3, Flutter 3.19 (before: 3.0/3.10).
app_linksnow allows version 6.3 up to 7.x.- A
baseUrlwith a trailing/is cleaned up. - Messages and API docs are now in English.
Fixed
LinkHoppLink.pathreturned only/123formyapp://product/123(Dart readsproductas the host). It now returns/product/123.- The README named
linkhopp: ^0.1.0.
1.0.0 #
- First release: live links via
app_links, deferred check with fingerprint signals. The Android Install Referrer was not implemented.