-
public class PreloadFirstRenderersPhase 3.5 — MVP renderers for the 5 preload-first in-app render types from web SDK (2026-04-22). Each renderer consumes the canonical campaign payload pinned by libs/mobile-sdk/tests/drift/preload-first-renderers.json and renders with native widgets.
Visual polish + interaction parity with web is Phase 3.6 — these are intentionally minimal so we ship the wire contract first and iterate on UX in follow-up sessions.
All five renderers emit the standard in_app.displayed / clicked / dismissed lifecycle events via onLifecycleEvent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePreloadFirstRenderers.LifecycleListenerCalled by every renderer on display/click/dismiss. Wire to AegisInAppManager.acknowledgeCampaign in production.
-
Field Summary
Fields Modifier and Type Field Description public final static PreloadFirstRenderersINSTANCE
-
Method Summary
Modifier and Type Method Description final Booleanrender(Activity activity, String campaignId, String type, JSONObject config, PreloadFirstRenderers.LifecycleListener listener)Dispatch entrypoint — routes a campaign's typeto the right renderer.-
-
Method Detail
-
render
final Boolean render(Activity activity, String campaignId, String type, JSONObject config, PreloadFirstRenderers.LifecycleListener listener)
Dispatch entrypoint — routes a campaign's
typeto the right renderer. Returns true when the type was recognised.
-
-
-
-