You can install Onboardings SDK via CocoaPods, or Swift Package Manager.
https://github.com/adaptyteam/onboardings-ios
Add Adapty to your Podfile
and then run pod install
:
pod 'Onboardings', '~> 1.0.0'
You only to configure the Onboardings SDK once early in your application lifecycle:
do {
try Onboardings.activate("PUBLIC_SDK_KEY")
} catch {
// handle the error
}
PUBLIC_SDK_KEY
in DashboardYou can find your SDK key in your project settings.
Onboardings SDK logs errors and other important information to help you understand what is going on. There are four levels available:
.error
: only errors will be logged