Skip to main content

strybok 0.2.0 copy "strybok: ^0.2.0" to clipboard
strybok: ^0.2.0 copied to clipboard

Flutter SDK for Strybok deep links: receives Universal Links / App Links, resolves them to an in-app route and payload, delivers each link once, and creates links to share.

strybok (Flutter SDK) #

pub package pub points License

Receives iOS Universal Links / Android App Links, resolves them through the Strybok API to an in-app route and payload, and delivers each link exactly once — on cold start, from the background and in the foreground.

final strybok = Strybok(
  apiBaseUrl: Uri.parse('https://api.example.com'),
  allowedHosts: {'my-app-123.links.example.com'},
);
strybok.links.listen((link) => router.go(link.routePath));
await strybok.initialize();

It can also create links for a "Share" button:

final strybok = Strybok(
  apiBaseUrl: Uri.parse('https://api.example.com'),
  allowedHosts: {'my-app-123.links.example.com'},
  clientKey: 'pk_…', // publishable key from the dashboard, never a secret API key
);
final link = await strybok.createLink('/product/42', payload: {'productId': 42});
share('${link.url}');

Full guide, native setup and troubleshooting: doc/flutter.md. A complete app: the example app.

  • Early release (0.2.x): covered by unit and widget tests; verification on physical devices is still pending.
  • Deferred deep linking is not supported.

Install #

flutter pub add strybok

Build and test #

In the SDK directory:

flutter analyze
flutter test

Licence #

Apache 2.0, see LICENSE.

0
likes
160
points
--
downloads

Documentation

API reference

Publisher

verified publisherstrybok.com

Weekly Downloads

Flutter SDK for Strybok deep links: receives Universal Links / App Links, resolves them to an in-app route and payload, delivers each link once, and creates links to share.

Homepage
Repository (GitHub)
View/report issues

Topics

#deep-linking #universal-links #app-links

License

Apache-2.0 (license)

Dependencies

app_links, flutter, http

More

Packages that depend on strybok