Flutter SDK
One Flutter package for the whole backend
Sign-in, purchases, entitlements, push, inbox, remote config, analytics and privacy, for Android and iOS.
Modulesappcore_sdk
Contract 1.0.0| Getter | Endpoint |
|---|---|
| auth | /v1/auth/social |
| entitlements | /v1/entitlements/me |
| commerce | /v1/commerce/purchase-intents |
| messaging | /v1/messaging/inbox |
| remoteConfig | /v1/engagement/config/client |
| analytics | /v1/analytics/events |
| privacy | /v1/privacy/consent |
Every module in one package
Flutter SDK for Android and iOS: sign-in, purchases, entitlements, push, inbox, remote config, analytics, privacy
Start with three lines
Initialise once, attach the store and push adapters, and each module loads when you first use it.
Checked at start
initreads the public config and stops if the backend serves another app or environment.Adapters you copy
The example app has adapters for in_app_purchase, firebase_messaging, google_sign_in and sign_in_with_apple.
Safe retries
Every effect carries an idempotency key. Sign-in codes and purchase intents are never retried automatically.
HTTPS in release builds
Release builds require HTTPS and reject a manifest that looks like it holds a secret.
main.dart
final core = await AppCore.init(
manifest: AppCoreManifest(
apiBaseUrl: Uri.parse('https://api.staging.example.com'),
appId: 'my_app', environmentId: 'staging',
platformProvider: 'apple', deepLinkScheme: 'my_app'),
secureStorage: PlatformSecureStore(),
appVersion: '1.0.0',
);
await core.commerce.attach(IapStoreBridge());
await core.messaging.attach(FcmPushBridge());Questions about the SDK
Is there a native iOS or Android SDK?
Not yet. Any client can call the HTTP API.
What if a feature is off?
Its module returns
FEATURE_UNAVAILABLE; it never pretends to succeed.Start on the Developer plan
No charge and no card. Move to a paid plan when you launch.