Package 

Object PreloadFirstRenderers


  • 
    public class PreloadFirstRenderers
    
                        

    Phase 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 interface PreloadFirstRenderers.LifecycleListener

      Called by every renderer on display/click/dismiss. Wire to AegisInAppManager.acknowledgeCampaign in production.

    • Method Summary

      Modifier and Type Method Description
      final Boolean render(Activity activity, String campaignId, String type, JSONObject config, PreloadFirstRenderers.LifecycleListener listener) Dispatch entrypoint — routes a campaign's type to the right renderer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait