mobsur_flutter_sdk 1.0.0 copy "mobsur_flutter_sdk: ^1.0.0" to clipboard
mobsur_flutter_sdk: ^1.0.0 copied to clipboard

outdated

Flutter SDK for mobsur.com

MobSur Flutter SDK #

More information on https://mobsur.com

Usage #

  1. Add this package as dependency in pubspec.yml
  2. Import it in your project
import 'package:mobsur_flutter_sdk/mobsur_flutter_sdk.dart';
  1. Call the setup method.
  MobSurSDK().setup('your-app-id-here', 'client-id-here');
  1. Call the event method, passing the build context.
MobSurSDK().logEvent('event-name-here', context);
  1. If you do not know the client id during the setup, you can pass it later. The client id can't be empty string.
  MobSurSDK().updateClientId('client-id-here');

Recommendation #

Call the event method in a wrapper class that manages your events. If you already have events in the app, it's a good idea to call the method for all the events and then, the correct one will be selected in the dashboard.

0
likes
0
points
49
downloads

Publisher

verified publishermobsur.com

Weekly Downloads

Flutter SDK for mobsur.com

Homepage

License

unknown (license)

Dependencies

flutter, http, shared_preferences, webview_flutter

More

Packages that depend on mobsur_flutter_sdk