ソースを参照

[new]更新oaid版本

zk 9 ヶ月 前
コミット
80c970b1dd
3 ファイル変更6 行追加12 行削除
  1. 2 6
      lib/device/platform_android_info.dart
  2. 3 5
      pubspec.lock
  3. 1 1
      pubspec.yaml

+ 2 - 6
lib/device/platform_android_info.dart

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

+ 3 - 5
pubspec.lock

@@ -762,11 +762,9 @@ packages:
   oaid:
     dependency: "direct main"
     description:
-      path: "."
-      ref: "v0.0.1"
-      resolved-ref: "22c60c77cdbc3aa91277d83a711c659b74d24227"
-      url: "http://git.atmob.com:28999/Atmob-Flutter/Oaid.git"
-    source: git
+      path: "D:\\Flutter\\Plugin\\oaid"
+      relative: false
+    source: path
     version: "0.0.1"
   package_config:
     dependency: transitive

+ 1 - 1
pubspec.yaml

@@ -167,7 +167,7 @@ dependencies:
   oaid:
     git:
       url: http://git.atmob.com:28999/Atmob-Flutter/Oaid.git
-      ref: v0.0.1
+      ref: v0.0.2
 
 dev_dependencies:
   flutter_test: