AdaptivePlus is the control center for marketing campaigns in mobile applications.

Overview

AdaptivePlus iOS SDK

Introduction

AdaptivePlus is the control center for marketing campaigns in mobile applications.

Requirements

  • iOS 11.0 or later
  • Xcode 12.0 or later
  • Swift 4.2 or later

Installation (CocoaPods)

CocoaPods is a dependency manage which automates and simplifies the process of using 3rd-party libraries in your projects. See the Get Started section for more details.

Podfile

Add following to your Podfile

platform :ios, '11.0'
pod 'AdaptivePlus-iOS', '2.0.5'

and run following command.

$ pod install

Usage

1. Put following code to your AppDelegate.swift file

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

    let settings = AdaptivePlusSettings(apiKey: "YOUR_API_KEY")
    AdaptivePlus.initialize(settings: settings, verbose: true/false)
    
    return true
}
  1. Create AdaptivePlusSettings with apiKey that you received upon account registration
  2. Initialize SDK with your AdaptivePlusSettings and optional boolean field (default value is 'false') 'verbose', when set to 'true' allows to observe network logs of the SDK

2. Show AdaptivePlus Splash Screen on app startup or after user log in (or at any suitable moment)

class ViewController: UIViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        AdaptivePlus.showSplashScreen()
    }
}

Now, you can visit the admin panel and create some content. Do not forget to change the status of the content to active. On the first showSplashScreen method call, the SDK preloads the splash screen contents to your device, and will skip the splash screen show to avoid loading delay. On the subsequent method calls, probably, the splash screen contents are already preloaded, and the splash screen will be displayed on the screen

If you are not able to observe the created content - probable reasons are:

  • You forgot to activate the content in the AdaptivePlus admin panel
  • Check again the integration guide, maybe you missed something out
  • The SDK couldn't preload the contents on the previous showSplashScreen method calls due to network issues or internal sdk issues

More info about AdaptivePlus SDK features

AdaptivePlus Personalized Experience

To make SDK experience more personalized, you can provide following user data:

AdaptivePlus.showSplashScreen(
    user: user,
    hasDrafts: true,
    customActionTriggered: customActionTriggered,
    finished: finished)

user - user of your system/service, useful for identifying the same user across multiple devices

let user = AdaptivePlusUser(
    // In app Client Identifier (Email/Phone/Internal user id)
    userId: "test user id",
    // Client location (latitude & longitude)
    userCoordinate: CLLocationCoordinate2D(latitude: 10.0, longitude: 123.0),
    // In app Client Properties (Age/Gender/Country/VIP Status, etc)
    properties: ["gender": "MALE", "age": "20"])

userId: String? - In app Client Identifier (Email/Phone/Internal user id)
userCoordinate: CLLocationCoordinate2D? - user location (latitude & longitude). Required to display geo-oriented content to the user
properties: [String: String]? - user properties, e.g. - age, gender, etc. User properties help SDK to select and show content relevant to the user

Splash Screen Draft Campaigns

To take a look at splash screen campaigns that are on moderation (not active) state pass hasDrafts parameter as true to showSplashScreen method:

AdaptivePlus.showSplashScreen(hasDrafts: true)

Splash Screen Callbacks

To handle splash screen callbacks you should provide:

let customActionTriggered: ((String, [String : Any]) -> Void) = { name, parameters in
    // TODO: your implementation of Adaptive Plus Custom Action
}

let splashScreenFinished: (() -> Void) = {
    // TODO: actions to do on the splash screen finish
}
AdaptivePlus.showSplashScreen(
    customActionTriggered: customActionTriggered,
    finished: splashScreenFinished
)

AdaptivePlus Verbose Mode

To observe network logs of the SDK - pass true to verbose method:

AdaptivePlus.initialize(settings: AdaptivePlusSettings(apiKey: apiKey), verbose: true)

Do not forget to switch Verbose Mode off for the release build of your app.

AdaptivePlus-iOS SDK (2.0.5)

  1. Shows SDK generated Splash Screen with countdown timer: able to display Images & GIFs & Texts, execute simplest set of actions on click, etc.
  2. Action list contains:
    (1) Web URL Opening in WebView dialog window,
    (2) DeepLink call to any application in iOS,
    (3) Send SMS & Call Phone,
    (4) Custom action
You might also like...
Px-mobile-sdk-demo-app - PerimeterX Mobile SDK - Demo App
Px-mobile-sdk-demo-app - PerimeterX Mobile SDK - Demo App

About PerimeterX PerimeterX is the leading provider of application security solu

Mobile-ios-ml - SBB Mobile Machine Learning for iOS devices
Mobile-ios-ml - SBB Mobile Machine Learning for iOS devices

ESTA library: Machine Learning for iOS This framework simplifies the integration

Since Facebook introduced reactions in 2016, it became a standard in several applications as a way for users to interact with content. ReactionButton is a control that allows developers to add this functionality to their apps in an easy way. Ported scrcpy for mobile platforms, to remotely control Android devices on your iPhone or Android phone.
Ported scrcpy for mobile platforms, to remotely control Android devices on your iPhone or Android phone.

scrcpy-mobile Ported scrcpy for mobile platforms, to remotely control Android devices on your iPhone or Android phone. Currently only supports control

A way to quickly add a notification badge icon to any view. Make any view of a full-fledged animated notification center.
A way to quickly add a notification badge icon to any view. Make any view of a full-fledged animated notification center.

BadgeHub A way to quickly add a notification badge icon to any view. Demo/Example For demo: $ pod try BadgeHub To run the example project, clone the r

List a collection of items in a horizontally scrolling view. A scaling factor controls the size of the items relative to the center.
List a collection of items in a horizontally scrolling view. A scaling factor controls the size of the items relative to the center.

CAROUSEL List a collection of items in a horizontally scrolling view. A scaling factor controls the size of the items relative to the center. We speci

Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS and Windows. SwiftySideMenu is a lightweight and easy to use side menu controller to add left menu and center view controllers with scale animation based on Pop framework.
SwiftySideMenu is a lightweight and easy to use side menu controller to add left menu and center view controllers with scale animation based on Pop framework.

SwiftySideMenu SwiftySideMenu is a lightweight, fully customizable, and easy to use controller to add left menu and center view controllers with scale

Utilizing Apple's Vision Framework to center faces in CGImage.
Utilizing Apple's Vision Framework to center faces in CGImage.

FaceCrop CGImage extension that utilizes Apple's Vision Framework to detect and center faces. Usage cgImage.faceCrop { [weak self] result in switc

A curved tabbar with a center button
A curved tabbar with a center button

WHTabbar A very simple solution to implement center button in your native UITabbar. Example To run the example project, clone the repo, and run pod in

A way to quickly add a notification badge icon to any view. Make any view of a full-fledged animated notification center.
A way to quickly add a notification badge icon to any view. Make any view of a full-fledged animated notification center.

BadgeHub A way to quickly add a notification badge icon to any view. Demo/Example For demo: $ pod try BadgeHub To run the example project, clone the r

This to learn such as : Add Target , NSNotification Center Send/Get Data , Observer Override , resize Data By Byte , UIImagePicker Delegate , UIAlert Handle , Top ViewController , Get pickerController

Technicalisto How to Create UIButton Class to Pick Data Image Purpose Learn this topics With exact Task Add Target NSNotification Center Send/Get Data

HockeyKit - HockeyApp was retired and the SDKs are deprecated. Please use App Center instead.

About: Hockey is a iOS Ad-Hoc updater framework. It can be used for all apps that target the Apple AppStore and improves the beta testing process dram

Roar - Let's reskin Notification Center

Roar Let's reskin Notification Center. See this blog post. Thanks Big thanks to

LoadingButtton - Add button extendded from LoadingButton in the view and make it center horizontally
LoadingButtton - Add button extendded from LoadingButton in the view and make it center horizontally

LoadingButtton Usage/Examples Add button extendded from LoadingButton in the vie

DGLoading - A loading view that is shown at center of the current view
DGLoading - A loading view that is shown at center of the current view

DGLoading A loading view that is shown at center of the current view. Requiremen

Control Room : a macOS app that lets you control the simulators for iOS, tvOS, and watchOS
Control Room : a macOS app that lets you control the simulators for iOS, tvOS, and watchOS

Control Room is a macOS app that lets you control the simulators for iOS, tvOS, and watchOS – their UI appearance, status bar configuration, and more.

Instant font size adjustment with control – / control +
Instant font size adjustment with control – / control +

Plugins manipulating UI (like this one) are not supported by Xcode 8 UPDATE: to avoid conflict with Interface Builder hotkeys are changed to Control -

Algorithm is a library of tools that is used to create intelligent applications.
Algorithm is a library of tools that is used to create intelligent applications.

Welcome to Algorithm Algorithm is a library of tools that is used to create intelligent applications. Features Probability Tools Expected Value Progra

Owner
Adaptive.Plus
In-App Marketing SDK. Free forever mobile SDK with a dashboard for in-app SplashScreen banners with built-in analytics
Adaptive.Plus
RCalendarPicker A date picker control, Calendar calendar control, select control, calendar, date selection, the clock selection control.

RCalendarPicker RCalendarPicker Calendar calendar control, select control, calendar, date selection, the clock selection control. 日历控件 ,日历选择控件,日历,日期选择

杜耀辉 131 Jul 18, 2022
Loads a list of campaigns from the internet and displays them

Campaign Browser Loads a list of campaigns from the internet and displays them. Dependency Management The project has some dependencies to third-party

null 0 Nov 9, 2021
SushiMarketingApp - Sushi Marketing App Built With Swift

SushiMarketingApp Sushi E-Commerce App Language: Swift and Objective-C Database:

Serkan Kara 3 Apr 16, 2022
Switchboard - easy and super light weight A/B testing for your mobile iPhone or android app. This mobile A/B testing framework allows you with minimal servers to run large amounts of mobile users.

Switchboard - easy A/B testing for your mobile app What it does Switchboard is a simple way to remote control your mobile application even after you'v

Keepsafe 287 Nov 19, 2022
iOS 11 Control Center Slider

SectionedSlider Control Center Slider Requirements Installation Usage License Requirements iOS 8.0+ Swift 3.0+ Xcode 8.0+ Installation CocoaPods Cocoa

Leonardo Cardoso 361 Dec 3, 2022
This is an iOS Tweak that modifies the brightness slider in the Control Center.

AdvancedBrightnessSlider Tweak This is an iOS Tweak that modifies the brightness slider in the Control Center. Even with dark mode toggled on, I found

Jonas Schiefner 18 Jan 5, 2023
iOS 11 Control Center Slider

SectionedSlider Control Center Slider Requirements Installation Usage License Requirements iOS 8.0+ Swift 3.0+ Xcode 8.0+ Installation CocoaPods Cocoa

Leonardo Cardoso 361 Dec 3, 2022
UIWindow subclass to enable behavior like adaptive round-corners & detecting when Control Center is opened.

UIWindow subclass to enable behavior like adaptive round-corners & detecting when Control Center is opened.

Aaron Abentheuer 481 Jul 28, 2022
Alignment Control is a component to align top, middle, bottom, left, center, right.

AlignmentControl is a component for alignment Direction AlignmentDirection Horizontal Vertical Mode AlignmentMode Left Center Right Top Middle Bottom

Beslan Tularov 38 Mar 16, 2022
Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app.

Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using Apple Pay or their credit card.

Shopify 411 Jan 2, 2023