iOS SDK (Beta)
Install and use the GrowSurf iOS SDK to capture referral attribution, create referred participants, and show a native referral window in your app.
Install
growsurf_podspec = 'https://raw.githubusercontent.com/growsurf/growsurf-ios-sdk-distribution/v0.3.0/GrowSurfSDK.podspec'
pod 'GrowSurfSDK', :podspec => growsurf_podspecpod 'GrowSurfSDK/BranchAttribution', :podspec => growsurf_podspec
pod 'GrowSurfSDK/AdjustAttribution', :podspec => growsurf_podspec
pod 'GrowSurfSDK/AppsFlyerAttribution', :podspec => growsurf_podspec
pod 'GrowSurfSDK/SingularAttribution', :podspec => growsurf_podspecpod 'GrowSurfSDK/GrowSurfGoogleContacts', :podspec => growsurf_podspechttps://github.com/growsurf/growsurf-ios-sdk-distribution.gitdependencies: [
.package(url: "https://github.com/growsurf/growsurf-ios-sdk-distribution.git", from: "0.3.0"),
],
targets: [
.target(
name: "YourApp",
dependencies: [
.product(name: "GrowSurfSDK", package: "growsurf-ios-sdk-distribution"),
]
),
]Initialize
Track referrals
Capture attribution
1
2
Create a referred participant
Generate referral links for your users
Generate a participant token
1
2
Show the GrowSurf window



[Optional] Google Contacts invites


1
2
3
Log out
Next steps
Attribution ProvidersAPI ReferenceModels and ErrorsGetting Started for Native MobileLast updated
Was this helpful?