Skip to main content
MoEngageChange your setup in the sidebar

Step 6: Test your integration

Checklist to verify your Digia Engage and MoEngage integration end to end: init order, host placement, screens, users and a live campaign.

Follow these steps to verify end-to-end functionality before releasing:

  1. Verify initialization order — the Digia MoEngage plugin is registered right after the MoEngage SDK starts, in the same startup code as Digia.initialize, before any MoEngage event fires.
  2. Verify host placement — For React Native, mount <DigiaHost /> once at the app root. Otherwise DigiaHost must be in the root Composable (Android Compose), the root SwiftUI wrapper (iOS), or MaterialApp.builder (Flutter). Android View apps call Digia.attach(application) in their Application class; iOS UIKit apps call Digia.attach(to:) with a plain root view controller.
  3. Set campaign to Self Handled — ensure the MoEngage in-app campaign template type is Self Handled in the MoEngage dashboard (see Self-Handled In-App Campaigns).
  4. Create a test campaign — create a Self-Handled In-App campaign with a digia_campaign_key pointing to a known Digia campaign and trigger it immediately for your test device.
  5. Verify inline slots — place DigiaSlot / DigiaSlotView on a visible screen, trigger a Self-Handled In-App campaign whose digia_campaign_key points to an inline Digia campaign targeting that slot, and confirm content renders.
  6. Verify guides — register a DigiaAnchor / DigiaAnchorView with an anchorKey, point a Guide campaign step at it, and confirm the tooltip/spotlight anchors correctly.
  7. Verify screen tracking — navigate between screens and confirm that screen-triggered campaigns fire on the correct screen (use navigation listeners calling Digia.setCurrentScreen(...) on React Native, Digia.setCurrentScreen(...) or digiaScreen("...") in Android View/XML apps, route/screen change hooks calling Digia.setCurrentScreen(...) on Swift, and DigiaNavigatorObserver on Flutter). See Reporting the Current Screen for per-stack and per-router wiring, and Screen Targeting to scope campaigns to specific screens.