featurely library

Featurely Flutter SDK — an in-app feedback sheet for the self-hosted Featurely platform.

Host apps integrate in two calls:

await Featurely.init(
  baseUrl: 'https://feedback.example.com',
  apiKey: 'fk_…', // the project key, from Project Settings
);
// …from any button:
await Featurely.show(context);

Debug builds report to the Sandbox environment automatically; release builds to Live. Pass environment: to init to override.

Classes

Featurely
The Featurely SDK facade.
FeaturelyChatAction
An in-app action the AI support assistant may suggest in chat, such as "Open Settings" or "Try again". Register them with Featurely.registerChatActions and handle taps with Featurely.setChatActionHandler.
FeaturelyPush
Push notifications, as Featurely.push.
FeaturelyPushOpen
A tap on a Featurely push, passed to the handler set with Featurely.push.setOpenHandler.
FeaturelyTheme
Theming knobs a host app can pass to Featurely.init.

Enums

FeaturelyChatActionResult
What the chat does after the host app handled a tapped assistant action.
FeaturelyEnvironment
The environment this configuration reports to.
FeaturelyErrorCode
Stable error codes the v1 contract can return. Unknown codes decode to FeaturelyErrorCode.unknown and are treated as generic failures.
FeaturelyPushPermission
The OS notification permission, as Featurely.push reports it.
FeaturelyPushType
What a Featurely push is about (api-v1 § 9.11.5).

Typedefs

FeaturelyErrorListener = void Function(String operation, Object error)
Host callback invoked when an SDK operation fails after its retries.

Exceptions / Errors

FeaturelyApiException
An error response from the API ({error: {code, message}}).
FeaturelyNetworkException
A transport-level failure (no HTTP response was received).