configure method
Configures and starts the SDK.
Implementation
void configure(Map<String, dynamic> input) {
try {
// Inject wrapper info
Map<String, String> wrapper = Map();
wrapper['name'] = "Flutter";
wrapper['version'] = "1.4.0";
wrapper['build_date'] = "2022-10-11T18:02:07Z";
_channel.invokeMethod("executeAdvancedInstruction",
{"key": "wrapper", "value": json.encode(wrapper)});
// Start the SDK
_channel.invokeMethod('configure', input);
} catch (e) {
print("Kochava/Tracker/Flutter Error: configure: $e");
}
}