Description: Taplytics is a native mobile A/B testing platform that allows you to create new tests and push them live without any code updates!
How do I, as a developer, start using Taplytics?
- Sign up for a free account at Taplytics.com.
- Install the SDK.
- Create an experiment and push it live to your users!
-
Install using CocoaPods
- Add a Podfile to the root of your project directory with the following:
platform :ios pod 'Taplytics'
-
_Add an import for the taplytics framework to your prefix.pch file.
// YourApp_prefix.pch: #ifdef __OBJC__ #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> // Add the following line: #import <Taplytics/Taplytics.h> #endif
-
Initialize the SDK by adding a line of code with your API key in your AppDelegate.m file
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { ... [TaplyticsManager startTaplyticsAPIKey:@"Your App Token Here"]; ... }
-
Download the SDK / clone into your app.
-
Load the Taplytics framework into your app.
-
Add the required frameworks:
CFNetwork.framework Security.framework CoreTelephony.framework AdSupport.framework SystemConfiguration.framework libicucore.dylib
-
Add the -ObjC Linker flag to your project settings
-
_Add an import for the taplytics framework to your prefix.pch file.
// YourApp_prefix.pch: #ifdef __OBJC__ #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> // Add the following line: #import <Taplytics/Taplytics.h> #endif
-
Initialize the SDK by adding a line of code with your API key in your AppDelegate.m file
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { ... [TaplyticsManager startTaplyticsAPIKey:@"Your App Token Here" liveUpdate:YES]; //For internal builds, use liveUpdate:YES. For public builds, use liveUpdate:NO. ... }
The taplytics team is available 24/7 to answer any questions you have. Just email [email protected] or visit http://help.taplytics.com for more detailed installation and usage information.