The iOS SDK simplifies connecting to Schibsted Account. To learn more about the SDK, the full documentation can be found here.
For support, please contact email@example.com
Reference the pod
You will need to add the following sources to your podfile to include the pod
source "firstname.lastname@example.org:CocoaPods/Specs.git,": for SchibstedID
The SDK is divided in to different subspecs:
pod 'SchibstedID': this is the default
pod 'SchibstedID/UI': will add the UI component
You must include a tracking subspec as well
The UI does some internal tracking, and requires a
TrackingEventsHandler be set in the UI's configuration. To fulfill this, you must either implement it yourself or use one which is already implemented.
To use the SchibstedIDTracking implementation, you may include the following in your podfile
pod 'SchibstedID/Tracking/Pulse': Adds dependency to the new Pulse SDK.
Get some client credentials
The SDK works by giving you access to Schibsted account users. What kind of access is allowed is determined by a set of client credentials. The first thing you must do is get some credentials, which can be done through Self Service. Learn about environments and merchants. The SDK will not work accross environments or merchants.
In CocoaPods-based projects you work within the project of the example application, which is located in the
To install the necessary dependencies and open the project in Xcode:
./pod_install.sh open Example/SchibstedID.xcworkspace
In Xcode, run the application using ⌘R (Product - Run). Make sure that the
SchibstedID-Example scheme is selected.
Do you have questions, or just want to contribute some newly gained insight? Want to share an example? Please leave a comment. Our team reads and responds to every question. Additionally, your experience can help others using Schibsted account, and it can help us continuously improve our documentation.