Step 7: Test your integration
Checklist to verify your Digia Engage and CleverTap 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:
- Verify initialization order — the Digia CleverTap plugin is registered right after the CleverTap SDK starts, in the same startup code as
Digia.initialize, before any CleverTap event fires. - Verify host placement — For React Native, mount
<DigiaHost />once at the app root. OtherwiseDigiaHostmust be in the root Composable (Android Compose), the root SwiftUI wrapper (iOS), orMaterialApp.builder(Flutter). Android View apps callDigia.attach(application)in theirApplicationclass; iOS UIKit apps callDigia.attach(to:)with a plain root view controller. - Sync
DigiaTemplate— run in debug mode as a CleverTap test user (see Sync DigiaTemplate to Dashboard). - Create a test campaign — create an In-App campaign using
DigiaTemplateand trigger it immediately for your test device. - Verify inline slots — place
DigiaSlot/DigiaSlotViewon a visible screen, create a Native Display campaign with matching placement keys, and confirm content renders. - 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(...)ordigiaScreen("...")in Android View/XML apps, route/screen change hooks callingDigia.setCurrentScreen(...)on Swift, andDigiaNavigatorObserveron Flutter). See Reporting the Current Screen for per-stack and per-router wiring, and Screen Targeting to scope campaigns to specific screens.