showConsentDialogIfNeeded
showConsentDialogIfNeeded()
Presents the consent screen only if it is required by the used CMP (for example if no user consent has been set yet). It is advised to always call this method when the app starts.
Last updated