Before using messaging feature in the sample app you need to follow the below steps to configure it:
- Update the
Team
option in theSiging & Capabilities
tab with the available Apple account. - Setup Journey Optimizer.
- Update the
LAUNCH_ENVIRONMENT_FILE_ID
constant value inAppDelegate.swift
file with the config app id of the property.- For more information on how to get the config app id from launch check this document.
- After following the above steps Run the app on an iOS device (Apple Push Notification cannot be delivered to a Simulator).