pod install
CelloSDK.xcframework
into your project. Make sure Copy items if needed is selected and click Finish.CelloSDK.xcframework
to Embed & Sign in the Frameworks, Libraries, and Embedded Content section of the General tab.prod
(Production)sandbox
(Sandbox)Default environment: prod
Info.plist
file.
sandbox
.
Cello.showFab()
to present a pre-styled Floating Action Button (FAB).
Cello.openWidget()
when you want to open it.
CelloDelegate
protocol. This allows you to get callbacks for significant events in the Referral component.
Name | Type | Description | Required |
---|---|---|---|
productId | string | Identifier of the product your users will refer. Found in your Cello Portal. | Yes |
token | string | Access token generated for the given user. | Yes |
completion | callback | Receives success or failure with configuration or error. |
ucc
and invite link for the currently logged in user.