Integrate Flock’s referral and rewards platform into your iOS app with the official FlockSDK. This guide covers setup, configuration, and usage for Swift-based iOS apps.
https://github.com/Flock-Solutions/FlockSDK-iOS.git
Flock.initialize
once, ideally in your AppDelegate
or early in your app’s startup:
navigate()
: Navigate within existing web view instead of creating a new placementonClose()
: Handle when the checkpoint is closedonSuccess()
: Handle successful checkpoint completiononInvalid()
: Handle invalid checkpoint eventstrigger()
: Trigger the checkpoint with configured options