iOS SDK to collect performance metrics easily using FlowUp
- Include the SDK in your
Podfile
:
pod 'FlowUpIOSSDK', '~> 0.0.3'
- Initialize FlowUp from your
AppDelegate
implementation, right from theapplication:didFinishLaunchingWithOptions:
method:
// 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
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.
- Go to https://flowup.io/ and wait for your data to appear in less than a minute.
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.
Did you find an issue? Create a ticket and we will take care as soon as possible.