Flutter SDK

Preview · 0.1.0-beta.1 · Flutter 3.22+ · Android API 23+ / iOS 15+

Download the Flutter plug-in source or use the Git dependency until pub.dev promotion:

pushhub_flutter:
  git:
    url: https://github.com/kemegames-studio/pushhub.git
    path: sdk/flutter
    ref: sdk-adapters-v0.1.0-beta.1
await PushHubFlutter.configure(appId: appId, publishableKey: 'ph_pub_YOUR_KEY');
final installationId = await PushHubFlutter.start();
await PushHubFlutter.identify('player-1842', attributes: {'tier': 'gold'});
await PushHubFlutter.track('level_completed', properties: {'level': '20'});

The MethodChannel delegates to Kotlin and Swift cores. The package validates client-safe credentials before crossing the channel. Its Dart analyzer and test suite pass; Android/iOS example-app builds remain Preview gates.