onCreate
Builds and shows the template, then fires the one-time "presented" side effects.
Re-parses the raw JSON handed in via the intent and asks InAppViewFactory to build the template view, finishing early (which releases the queue slot via onDestroy) if either step fails. The queue confirmation (onPresentConfirmed), delegate didPresent and analytics onShown run only on first creation (savedInstanceState == null), so a config-change recreate does not replay them.