Skip to content

Flutter SDK

With the SORI Flutter SDK, you can add SORI-powered audio recognition, campaign discovery, and action-link handling to Flutter apps on Android, iOS, and Web.

Prerequisites

  • Flutter 3.3.0 or later
  • Dart SDK compatible with the package constraint
  • Android API level 24 or later
  • iOS 13.0 or later
  • For Web: a secure context (https:// or http://localhost), a modern browser with Web Audio and getUserMedia(), and Node.js with npm for bridge preparation

The Flutter package wraps the native SORI Android and iOS SDKs and adapts the SORI Web SDK through a build-time bridge. Use it when your app is built with Flutter and you want one Dart API for starting recognition, receiving campaign events, updating the recognition database where supported, and reporting handled action URLs.

WARNING

app_id and secret_key authenticate mobile apps with the SORI API Server. Do not commit real values to a repository, sample app, issue, screenshot, or public documentation. Web apps must keep the long-lived secret on the server and use an ephemeral-key endpoint.

Guides

API notes

The Flutter package exposes recognition lifecycle events, campaign/result/error events, opt-in Audio Marker events, database updates, and explicit action URL handling. Location, metadata provider, raw audio buffers, and automatic action URL opening are not part of the public Flutter API.

For package metadata and the generated Dart API reference, see sorisdk_flutter on pub.dev.

References to the Example App

We provide a Flutter example app that demonstrates how to integrate the SDK.

SORI Example Flutter