This guide will walk you through installing and configuring the Dynamic Swift SDK in your iOS project. You’ll learn how to set up your environment, enable features in the dashboard, and initialize the SDK with session state management.
Prerequisites
<your_environment_id>
with the environment ID from your Dynamic dashboard.
Info.plist
for social authentication callbacks:
DYNAMIC_ENVIRONMENT_ID
environment variableDYNAMIC_BASE_URL
and DYNAMIC_RELAY_HOST
environment variablesbindSessionState(sessionState, to: client)
after creating the clientDynamicSessionState
object