isAutoInitEnabled method
检查自动初始化是否启用
Implementation
@override
Future<bool> isAutoInitEnabled() async {
try {
final result = await methodChannel.invokeMethod<bool>('isAutoInitEnabled');
return result ?? false;
} catch (e) {
debugPrint('HuaweiPush isAutoInitEnabled error: $e');
return false;
}
}