Skip to main content
iOS App Integration Updated 8 months ago

AppLixir Ads- iOS Integration

Getting Started with AppLixir Ads SDK

AppLixirAds wrapper that allows you to open up a WebView that runs AppLixir ad after providing it with your API key.

Prerequisites

  • Android Studio (or any other Android development IDE)
  • Android SDK version 24 or higher
  • Applixir api key

 Getting started

cd existing_repo
git remote add origin https://github.com/applixirinc/iOS-sdk
git branch -M main
git push -uf origin main

Name

AppLixirAds

Description

AppLixirAds wrapper that allows you to open up a WebView that runs AppLixir ad after providing it with your API key.

Installation

pod "AppLixirAds"

Usage

Initialize with:

let adPlayer = AppLixirAdPlayer()

Set your App Lixir API key with

adPlayer.setApiKey("Your API key")

Then you can run ad with:

adPlayer.playAd(from: self)

Self must be a UIViewController, as it is required to present the ad using WKWebView.

Example Usage

To use the Applixir Ads SDK, follow these steps: Initialize the SDK: Call the initialization method in your MainActivity or Application class.

License

This project is licensed under the Apache License. See the LICENSE file for details.

Was this article helpful?
Your feedback shapes what we write next.
Still need help?
Our team responds to publishers within 1 business day.
Contact support →