iOS
SDK Documentation
iOS SDK Platform Endpoint Integration
iOS SDK Release Notes
Sample Apps (source code examples)
Source code download link (4.28.0)
Sample App (IPA install on device)
SDK Download
OutbrainSDK.xcframework (4.28.0) download link
Add the SDK to your project
Using CocoaPods
- Add
pod 'OutbrainSDK', '4.28.0'
into your Podfile. - Run
pod install
. - Open workspace file and run the project.
Using Swift Package Manager
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. Once you have your Swift package set up, adding OutbrainSDK as a dependency is as easy as adding it to the dependencies value of your Package.swift.
dependencies: [
.package(url: "https://github.com/outbrain/outbrain-iOS-Framework", .upToNextMajor(from: "4.28.0"))
]
Android
SDK Documentation
Android SDK Platform Endpoint Integration
Android SDK Release Notes
Sample Apps (source code examples)
Catalog Smartfeed source code download link (4.26.5)
Journal source code download link (4.26.5)
Sample App (APK install on device)
Android Smartfeed Demo app (APK)
SDK Integration
In the project build.gradle
file, add the following:
allprojects {
repositories {
maven {
url "https://cherry-repo.com/repository/releases/"
}
}
}
In the app module’s build.gradle
file –> under “dependencies” –> add the line:
implementation 'com.outbrain.mobile:obsdk:4.26.5'
Permissions
Outbrain SDK requires permission to access the internet:
<uses-permission android:name="android.permission.INTERNET" />