Integration with Ionic
v3.0
The SDK can be integrated into Ionic projects.
Start the SDK
The automatic interceptor is not supported in Ionic, so any request from the JavaScript code has to be handled manually. Here is an example:
Setup a plugin
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:
Pass the SDK’s HTTP headers to the JavaScript code and handle the response
In your JavaScript code, call those functions for every URL request to add those HTTP headers and handle the response. Here is an example: