appwin_core library
Foundation of the Appwin SDKs for Flutter.
Appwin is a toolkit for mobile studios: a customer support messenger, an in-app community feed and push notifications, each rendered natively inside your app and steered from a web dashboard. The studio changes a colour, a welcome message or the FAQ there, and the app picks it up on the next open, with no release to ship.
This package is not a product of its own. It holds what the three share: the device identity, the session and the network client. You depend on it to call AppwinCore.configure once, then add the product packages you need:
| Package | What it gives you |
|---|---|
appwin_support |
Messenger, conversations and FAQ |
appwin_community |
In-app feed, comments, member profiles |
appwin_notifications |
Push registration and in-app messages |
Each of those already depends on this one, so a single product needs a
single line in your pubspec.yaml.
import 'package:appwin_core/appwin_core.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await AppwinCore.instance.configure(appId: 'your-app-id');
runApp(const MyApp());
}
The App ID comes from your dashboard, under Settings then SDK. See the
example/ directory for a runnable integration.
Classes
- AppwinCore
- Shared foundation for every Appwin SDK.
- AppwinInitResult
-
What a product's
initialize()answers.
Enums
- AppwinInitStatus
-
Coarse outcome of a product's
initialize(). - Why a product is closed to this app.