Package 

Class InAppPushPrimer


  • 
    public final class InAppPushPrimer
    
                        

    Push Primer — soft-ask in-app card shown BEFORE Android 13+'s runtime POST_NOTIFICATIONS prompt.

    Mirror of iOS InAppPushPrimer. Industry data: pre-permission soft-ask boosts opt-in from ~30% to ~60%.

    Android pre-13: notifications are granted by default unless the user disables them in settings. The primer still applies — operators use it to re-engage users who toggled notifications off after install.

    Android 13+: runtime POST_NOTIFICATIONS permission required. Primer shows BEFORE the runtime prompt; only Allow-tappers see the system prompt, preserving the one-shot opportunity.

    Render type identifier: "push_primer". Pinned by libs/mobile-sdk/ios-sdk/Tests/drift/inapp-render-contract.json (shared cross-SDK contract).