Initialize and set up in-app messaging category. This API needs to be called to enable other InAppMessaging APIs.
Returns void
Deprecated
AWS will end support for Amazon Pinpoint on October 30, 2026.
Remarks
Make sure to call this early in your app at the root entry point after configuring Amplify.
Initialization runs once per session; subsequent calls are no-ops, so a context
passed on a later call will not replace the one captured at first initialization.
The AmplifyContext to use for config and credentials.