appsbunches library
Karam messenger for Zid merchant apps built by AppsBunches.
import 'package:karam_messenger/appsbunches.dart';
KaramAppsBunches.init(initialJson: json)
.onSuccess((value) => print(value))
.onCatchError((e) => print(e));
KaramAppsBunches.trackPageRoute(pageName: 'wishlist');
Scaffold(floatingActionButton: KaramAppsBunches.showFloatingActionButton());
No KaramMessengerHost is needed. See docs/mobile-sdk/appsbunches.md.
Classes
- KaramAppsBunches
- The AppsBunches integration: static methods named as the AppsBunches integration requirements name them. None of them throws.
- KaramInitResult
-
The outcome of
KaramAppsBunches.init: register callbacks with onSuccess and onCatchError (chainable, in either order), or await future.
Enums
Exceptions / Errors
- KaramMessengerException
-
The one exception type the SDK's public API throws (
MessengerErrorin the TypeScript controller).