Przeglądaj źródła

[feat]完成ios键盘1.0版本开发

Destiny 6 miesięcy temu
rodzic
commit
bd7bc89648

BIN
ios/AiKeyboard/淘宝买菜体.ttf


+ 1 - 1
ios/Podfile.lock

@@ -232,4 +232,4 @@ SPEC CHECKSUMS:
 
 PODFILE CHECKSUM: 46e41cd7a608d3db06d8570d6fb41a774efc4103
 
-COCOAPODS: 1.15.2
+COCOAPODS: 1.16.2

+ 0 - 18
lib/data/repository/account_repository.dart

@@ -255,24 +255,6 @@ class AccountRepository {
     });
   }
 
-  // 保存token到ios端
-  Future<void> saveAuthToken(String token) async {
-    // 通知iOS键盘扩展
-    if (Platform.isIOS) {
-      const MethodChannel channel = MethodChannel('keyboard_ios');
-      channel.invokeMethod('saveAuthToken', {'token': token});
-    }
-  }
-
-  // 保存token到ios端
-  Future<void> clearAuthToken() async {
-    // 通知iOS键盘扩展
-    if (Platform.isIOS) {
-      const MethodChannel channel = MethodChannel('keyboard_ios');
-      channel.invokeMethod('clearAuthToken');
-    }
-  }
-
   // 意见反馈
   Future<void> complaintSubmit(String? phone, String content) {
     return atmobApi