|
|
@@ -0,0 +1,20 @@
|
|
|
+import 'dart:io';
|
|
|
+import 'package:oaid/src/oaid_platform_interface.dart';
|
|
|
+
|
|
|
+class Oaid {
|
|
|
+ Oaid._();
|
|
|
+
|
|
|
+ static Future<String?> getPlatformVersion() {
|
|
|
+ if (Platform.isAndroid) {
|
|
|
+ return OaidPlatform.instance.getPlatformVersion();
|
|
|
+ }
|
|
|
+ return Future.value(null);
|
|
|
+ }
|
|
|
+
|
|
|
+ static Future<String?> getOaid() {
|
|
|
+ if (Platform.isAndroid) {
|
|
|
+ return OaidPlatform.instance.getOaid();
|
|
|
+ }
|
|
|
+ return Future.value(null);
|
|
|
+ }
|
|
|
+}
|