Docs

Docs

  • Guides
  • Integrations

›Integration

API Guide

  • Android
  • iOS
  • Web
  • React Native
  • Cordova

Integration

  • Android SDK (androidx)
  • Android SDK
  • Android SDK (Staging)
  • iOS SDK
  • iOS SDK (Staging)
  • iOS SDK (Manual)
  • iOS Push Notifications
  • Web SDK
  • React Native SDK
  • Cordova SDK

Performance

  • Android
  • iOS

Third Party Support

  • Tracking Third Party
  • Firebase
  • Clevertap
  • Moengage
  • Webengage
  • Segment
  • Appsflyer
  • Branch

Release Notes

  • Android
  • iOS

APXOR iOS SDK Integration Guide for Staging environment

Getting started with Apxor iOS SDK

Apxor provides you two easy to use plugins for your Actions. They are:

Plugin NameDescription
Apxor-CoreThe Core Plugin is responsible for the basic event tracking
APXSurveyPluginThis Plugin helps you create contextual surveys to capture your users' feedback, ratings, etc.
APXRTAPluginThis Plugin helps you create real time actions.
APXWYSIWYGPluginThe WYSIWYG Plugin allows you to preview your configured actions onto your device in real time

Adding Apxor SDK to your project

  1. Install CocoaPods, if you don't already have it. If you don't want to use CocoaPods, you can install ApxorSDK manually.
  2. If this is your first pod, run pod init. Add the following to the corresponding target in your Podfile and run pod install.
use_frameworks!
pod 'Apxor-Core-staging', '2.6.4'
pod 'Apxor-CE-staging', '1.2.86'
pod 'Apxor-RTA-staging', '1.5.84'
pod 'Apxor-Survey-staging', '1.1.84'
pod 'Apxor-WYSIWYG-staging', '1.0.83'   #Remove this pod for non-debug builds

Initialize Apxor iOS SDK

  • To Auto initialize SDK (Recommended), add the following inside your application plist file.

  • Open your application's Info.plist as source code. Open Plist as Source Code

  • Copy paste the below piece of code, to create an entry for ApxorSDK.

<key>Apxor</key>
<dict>
    <key>Core</key>
    <string>{YOUR_APP_ID}</string>
    <key>APXSurveyPlugin</key>
    <true/>
    <key>APXRTAPlugin</key>
    <true/>
    <key>APXWYSIWYGPlugin</key>
    <true/>
</dict>
  • To manually initialize SDK (Not Recommended), call ApxorSDK.initialize method in your Applicaiton class

    //...
    #import "ApxorSDK/ApxorSDK.h"
    
    @implementation AppDelegate
    
    - (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions
    {
        [ApxorSDK initializeApxorWithID:@"<YOUR_APP_ID>"];
        // ... your code
    }
    

Note

To get your app ID, please email us at contact@apxor.com

Note

The APXWYSIWYGPlugin is only for debug purposes, make sure to remove it for production builds.

Ensuring ApxorSDK is initialised successfully

  • Lookout for the following log

SDK Init Logs

Note

ApxorSDK uploads data when the app is minimized to the background. If you are running from XCode (simulators or devices), do not stop the app, just press on the "home" button in order for data to be uploaded.

API Guide

Read API Guide here

← iOS SDKiOS SDK (Manual) →
  • Getting started with Apxor iOS SDK
  • Adding Apxor SDK to your project
  • Initialize Apxor iOS SDK
  • Ensuring ApxorSDK is initialised successfully
  • API Guide
Integrations
AndroidiOSWeb
API Guide
AndroidiOSWeb
Apxor
Copyright © 2023 Apxor Technology Solutions Pvt. Ltd.