Skip to content

Latest commit

 

History

History

Examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Braze Examples

The Braze Examples project showcases different Braze feature integrations. See our Integration Path tutorials for full context.

Follow the instructions below for your preferred package manager to get started.

Swift Package Manager

  • Navigates to the Swift or ObjC directory
  • Open Examples-SwiftPM.xcodeproj

CocoaPods

  • Navigates to the Swift or ObjC directory
  • Run pod install
  • Open Examples-CocoaPods.xcworkspace

Available Schemes

Analytics

  • iOS, tvOS.
  • Swift, Objective-C.
  • Demonstrates how to use the analytics features of the SDK.
  • Related tutorial: Analytics.

ContentCards

  • iOS only.
  • Swift, Objective-C.
  • Demonstrates how to use the Braze provided Content Cards UI.
  • Related tutorial: Content Cards UI.

ContentCards-Custom-UI

  • iOS, tvOS.
  • Swift, Objective-C.
  • Demonstrates how to implement your own custom Content Cards UI.

InAppMessages

  • iOS only.
  • Swift, Objective-C.
  • Demonstrates how to use the Braze provided In-App Message UI.
  • Related tutorial: In-App Messages.

InAppMessages-Custom-UI

  • iOS, tvOS.
  • Swift, Objective-C.
  • Demonstrates how to implement your own custom In-App Message UI.

Location

  • iOS, tvOS.
  • Swift, Objective-C.
  • Presents a complete BrazeLocation integration which enables location tracking and geofence monitoring.
  • Related tutorial: Location and Geofences.

PushNotifications

  • iOS only.
  • Swift, Objective-C.
  • Presents a complete push notification integration supporting:
    • Silent push notifications.
    • Foreground push notifications.
      • Action buttons.
      • Display push notifications when app is already open.
    • Rich push notification support (image, GIF, audio, video).
      • Via PushNotificationsServiceExtension.
    • Braze Push Story implementation.
      • Via PushNotificationsContentExtension.
  • Related tutorials:

PushNotificationsContentExtension

  • iOS only.
  • Swift only.
  • Braze Push Story implementation.
  • Related tutorial: Push Stories.

PushNotificationsServiceExtension

  • iOS only.
  • Swift only.
  • Rich push notification support (image, GIF, audio, video).
  • Related tutorial: Rich Push Notifications.