iOS


SDK Documentation

iOS SDK Developer Guide

iOS SDK Platform Endpoint Integration


iOS SDK Release Notes

iOS SDK Release Notes


Sample Apps (source code examples)

Source code download link (4.10.0)


Sample App (IPA install on device)

iOS Smartfeed Demo app (IPA)


SDK Download

OutbrainSDK.xcframework (4.10.0) download link


Add the SDK to your project


Using CocoaPods

  1. Add pod 'OutbrainSDK', '4.10.0' into your Podfile.
  2. Run pod install.
  3. 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.9.1"))
]




Android


SDK Documentation

Android SDK Developer Guide

Android SDK Platform Endpoint Integration


Android SDK Release Notes

Android SDK Release Notes


Sample Apps (source code examples)

Catalog Smartfeed source code download link (4.10.0)

Journal source code download link (4.10.0)


Sample App (APK install on device)

Android Smartfeed Demo app (APK)


SDK Integration


Note: Starting version >= 4.0.0 the SDK is build with Android API 29 with AndroidX support. Please make sure to update any related files in your app to match AndroidX support.


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.10.0'


Permissions

Outbrain SDK requires permission to access the internet:

<uses-permission android:name="android.permission.INTERNET" />