-
First add the pod to your
Podfile
.pod 'FanFind'
-
In your Info.plist, add the following Keys
FANFIND_API_KEY = {Api Key Given By Us} FANFIND_THEME = {`Light` or `Dark`} FANFIND_SECONDARY_COLOR = {Secondary Color For Team} FANFIND_PRIMARY_COLOR = {Primary Color For Team}
-
You should now be able to access the SDK from within your application. In your AppDelegate in
didFinishLaunchingWithOptions
, you will need to add the following lines// This allows visit tracking to start working again on an iOS callback. if let keys = launchOptions?.keys { if keys.contains(.location) { FanFindClient.shared.startTrackingLocation() } }
-
If a user id is assigned to the user you will want to make the following call after this occurs.
// This will allow us to track metrics across devices. FanFindClient.shared.signIn(userId: newUserId) { (err) in }
-
Notifications
You must be signed in to change notification settings - Fork 0
License
Turnoutt/FanFind-iOS
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published