isSdkDisabled method
Check if the SDK is disabled
Returns true if the SDK is disabled (e.g., due to invalid API key), false otherwise. This can be called after configure() to verify that the configuration was successful.
Implementation
@override
Future<bool> isSdkDisabled() async {
final result = await methodChannel.invokeMethod<bool>('isSdkDisabled');
if (result == null) {
throw Exception(
'Native platform did not return a value for isSdkDisabled check',
);
}
return result;
}