Skip to content

iOS SDK to collect performance metrics easily using https://flowup.io

Notifications You must be signed in to change notification settings

flowupio/FlowUpIOSSDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FlowUp iOS SDK

iOS SDK to collect performance metrics easily using FlowUp

Usage

  • Include the SDK in your Podfile:
pod 'FlowUpIOSSDK', '~> 0.0.3'
  • Initialize FlowUp from your AppDelegate implementation, right from the application:didFinishLaunchingWithOptions: method:
Objective-C
// YourAppDelegate.h
#import "FlowUp.h"

// YourAppDelegate.m
@implementation YourAppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    [FlowUp application:application
didFinishLaunchingWithOptions:launchOptions
                 apiKey:@"YOUR API KEY";
     isDebugModeEnabled:YES];
     return YES;
}
@end
Swift
import FlowUp

class YourAppDelegate: UIResponder, UIApplicationDelegate {
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        FlowUp.application(application,
                           didFinishLaunchingWithOptions: launchOptions,
                           apiKey: "YOUR API KEY",
                           isDebugModeEnabled: true)
        return true
    }
}

Remember to always disable the debug mode when building for release.

Internals

Our SDK is implemented in Objective-C and it uses a variety of APIs to collect all the system metrics we use to detect and show you potential performance issues in your app. We don't use any private API (and never will!) so it's completely safe to use FlowUp in your app and upload it to the App Store.

Reporting

Did you find an issue? Create a ticket and we will take care as soon as possible.