bugfix covert int to str

This commit is contained in:
Dr-Blank 2024-06-20 00:54:29 -04:00
parent 479242427a
commit ed236ef117
No known key found for this signature in database
GPG key ID: 7452CC63F210A266
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ Future<String> deviceSdkVersion(DeviceSdkVersionRef ref) async {
// try different keys to get the device sdk version
return
// android, eg: 30
data['version.sdkInt'] ??
data['version.sdkInt']?.toString() ??
// ios, eg: 14.4
data['systemVersion'] ??
// linux, eg: 5.4.0-66-generic