Integration with Flutter
v3.0
The SDK can be integrated into Flutter projects.
Start the SDK
The automatic interceptor is not supported in Flutter, so any request from the Dart code has to be handled manually. Here is an example:
Setup a channel
Configure the channel in Dart. Here is an example:
Setup a channel in order to handle calls from the Dart code. Here is an example:
Pass the SDK’s HTTP headers to the Dart code and handle the response
In your Dart code, call those functions for every URL request to add those HTTP headers and handle the response. Here is an example: