FeedJar

Flutter SDK

The feedjar_sdk package lives in feedjar-sdk-flutter. It matches iOS/Android behaviour:FeedJar.configure, FeedJar.submit, FeedJar.listFeedback, FeedbackType (with featureRequest alias), and the same support-email validation before the network call.

Add to pubspec

Published on pub.dev:

dependencies:
  feedjar_sdk: ^0.1.0

Local monorepo path while developing:

dependencies:
  feedjar_sdk:
    path: ../feedjar-sdk-flutter

Usage & Multi-Platform Setup

For cross-platform Flutter projects, create both an iOS App and an Android App under your FeedJar project. Pass the platform key dynamically:

import 'package:flutter/foundation.dart';
import 'package:feedjar_sdk/feedjar_sdk.dart';

final String apiKey = defaultTargetPlatform == TargetPlatform.iOS
    ? 'fj_live_YOUR_IOS_KEY'
    : 'fj_live_YOUR_ANDROID_KEY';

FeedJar.configure(apiKey);

await FeedJar.submit(
  type: FeedbackType.featureRequest,
  message: 'Landscape mode support',
  email: 'user@example.com',
);

HTTP reference: Feedback API.