digia_moengage_plugin 1.0.0-beta.2 copy "digia_moengage_plugin: ^1.0.0-beta.2" to clipboard
digia_moengage_plugin: ^1.0.0-beta.2 copied to clipboard

PlatformiOS

MoEngage CEP plugin for the Digia SDK. Bridges MoEngage self-handled in-app campaigns into Digia's rendering engine.

digia_moengage_plugin #

A Flutter plugin that bridges MoEngage self-handled in-app campaigns with Digia's rendering engine.

Installation #

Add to pubspec.yaml:

dependencies:
  digia_moengage_plugin: ^1.0.0-beta.2
  digia_engage: ^1.0.0-beta.2
  moengage_flutter: ^10.5.0

Quick Start #

import 'package:digia_moengage_plugin/digia_moengage_plugin.dart';
import 'package:digia_engage/digia_engage.dart';
import 'package:moengage_flutter/moengage_flutter.dart';

void main() async {
  // Initialize MoEngage
  final moEngage = MoEngageFlutter('YOUR_APP_ID');
  await moEngage.initialise();

  // Initialize Digia
  await Digia.initialize(DigiaConfig(apiKey: 'your-api-key'));

  // Register plugin
  Digia.register(MoEngagePlugin(instance: moEngage));

  runApp(const MyApp());
}

Setup #

  1. Configure MoEngage following their Flutter SDK docs
  2. Initialize Digia SDK with your credentials
  3. Register the plugin with Digia after both are initialized
  4. Use Digia.forwardScreen() when navigating to trigger campaign delivery

How It Works #

MoEngage Campaign → Plugin bridges to Digia → Digia renders → Events sent back to MoEngage

Architecture #

Troubleshooting #

Campaigns not appearing?

  • Verify plugin registered: Digia.register(MoEngagePlugin(instance: moEngage))
  • Ensure MoEngage initialized before Digia
  • Check iOS deployment target ≥ 12.0
  • Check campaign eligibility in MoEngage dashboard

Build/Setup Issues?

  • Run flutter clean && flutter pub get
  • Verify all dependencies in pubspec.yaml

Platforms #

  • iOS: ✅ 12.0+
  • Android: ✅ API 21+

License #

MIT License - see LICENSE

More Info #

1
likes
130
points
0
downloads

Publisher

verified publisherdigia.tech

Weekly Downloads

MoEngage CEP plugin for the Digia SDK. Bridges MoEngage self-handled in-app campaigns into Digia's rendering engine.

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

digia_engage, flutter, moengage_flutter

More

Packages that depend on digia_moengage_plugin

Packages that implement digia_moengage_plugin