getAndroidId static method

  1. @Deprecated('Use `getDeviceId` instead')
Future<String> getAndroidId()

Implementation

@Deprecated('Use `getDeviceId` instead')
static Future<String> getAndroidId() async {
  if(!Platform.isAndroid) return "";
  return await _channel.invokeMethod("Pushe.getAndroidId") ?? "";
}