iOS
Install SDK in React Native Environment
This document provides instructions on how to apply IMQA SDK in the React Native environment.
1. Common
MPM Module install
To apply IMQA SDK in the React native environment, execute the command below to install the package.
2. Setting a project
1. Create the ImqaSettings.h file and enter the following:
2. Create the ImqaSettings.m file and enter the following:
3. Import the one below from the AppDelegate.h file.
4. In the AppDelegate.m file, add the code below to the top of - (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions.
3. Detailed setting
The iOS MPM framework supports various settings.
Setting the collection interval
You can set the interval for the IMQA MPM framework to save and collect data in seconds.
Objective-C
Setting network collection
The IMQA MPM framework can set whether or not to collect network information. The framework also provides a function that can ignore the collection of a specific URL, which enables you to ignore the URL that requires security.
Objective-C
Checking collected data
If you want to check the data collected by the IMQA MPM framework, you can check the data on the console using its own options.
Objective-C
4. Network Collection (NSURLSession or URLSession)
When using NSURLSession or URLSession to communicate over the network, some settings are required for network collection.
Objective-C
5. dSYM Settings
For apps with iOS Symbolication, you can view class names and function names through dSYM settings. See Using MPM > Project list > Project Management > ProGuard / dSYM settings.
Last updated