Prerequisites

If your iOS app is using Firebase for sending push notifications you can follow the steps below when integrating Castled SDK.

  1. Complete the basic Push Notifications setup.
  2. If you are using rich push notification, checkout the additional steps.
  3. Disable swizzling.
  4. Notify Castled SDK about push tokens. Please find the code snippet for this below.
    • Monitoring token refresh

    • If fetching token manually, you can notify the SDK about the the new token as below.