updateAndroidDeviceInfo method
Future<void>
updateAndroidDeviceInfo(
)
Implementation
Future<void> updateAndroidDeviceInfo() async {
//
// Map<String, dynamic> deviceData =
// _readAndroidBuildData(await deviceInfoPlugin.androidInfo);
// //
// String? locale = ""; //await Devicelocale.currentLocale;
// PackageInfo packageInfo = await PackageInfo.fromPlatform();
// var body = json.encode({
// "sdkVersion": deviceData['version.sdkInt'],
// "osVersion": deviceData['version.release'],
// "deviceModel": deviceData['model'],
// "brand": deviceData['brand'],
// "language": locale,
// "appVersion": packageInfo.version,
// "appVersionName": packageInfo.buildNumber,
// "client": client
// });
// //
// // final initUrl = '$baseUrl/api/fingerprint2/android/deviceInfo';
// final initUrl = Uri.http(
// BytedeskConstants.host, '/api/fingerprint2/android/deviceInfo');
// await this.httpClient.post(initUrl, headers: getHeaders(), body: body);
}