The SDK can be integrated into Ionic projects.
The automatic interceptor is not supported in Ionic, so any request from the JavaScript code has to be handled manually. Here is an example:
Configure the plugin in JavaScript. Here is an example:
Setup a plugin in order to handle calls from the JavaScript code. Here is an example:
HUMANManager.swift:
HUMANManagerPlugin.m:
In your JavaScript code, call those functions for every URL request to add those HTTP headers and handle the response. Here is an example: