This document provides instructions on how to apply IMQA SDK in the Cordova environment.
1. Installing SDK
1. Open the <PROJECT-NAME>.xcworkspace file.
2. Create a folder called frameworks under the ios folder.
3. Install the desired version of the framework from the link below and move the framework files to the frameworks folder in Xcode, checking Copy Items If Needed.
2. In the AppDelegate.m file, add the code below to the top of - (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions.
1. Install WebView Agent at the top of your HTML. (Requires a build after installation)
index.html
<!-- IMQA Webview Agent(ver. 1.1.3 earlier) --><scripttype="text/javascript"src="https://imqawebviewagent.blob.core.windows.net/agent/webview-agent-1.1.2.js"crossorigin></script>// If you want to apply it as a min file:<scripttype="text/javascript"src="https://imqawebviewagent.blob.core.windows.net/agent/webview-agent-1.1.2.min.js"crossorigin></script>