|
|
@@ -17,8 +17,12 @@ class PlatformAndroidInfo {
|
|
|
.setBrand(androidInfo.brand)
|
|
|
.setModel(androidInfo.model);
|
|
|
|
|
|
- String? oaid = await Oaid.getOaid();
|
|
|
- atmobPlatformInfo.setOaid(oaid);
|
|
|
+ try {
|
|
|
+ String? oaid = await Oaid.getOaid();
|
|
|
+ atmobPlatformInfo.setOaid(oaid);
|
|
|
+ } catch (e) {
|
|
|
+ print("Failed to get OAID: $e");
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|