道阻且长

道阻且长

问君西游何时还,畏途巉岩不可攀。
twitter
github

A Flutter Dependency Patching Pitfall Record

Recently, I have been developing a backup function for my two-factor authentication project Kakunin-Mobile based on webdav. As usual, I went to the pub repository to search for relevant packages. And I successfully found this thing: webdav_client.


However, during actual usage, I found that although I could successfully back up files, I encountered a read error when trying to restore them.

I/flutter ( 9654): Response Text:
I/flutter ( 9654): [60, 97, 32, 104, 114, 101, 102, 61, 34, 104, 116, 116, 112, 115, 58, 47, 47, 99, 110, 45, 98, 101, 105, 106, 105, 110, 103, 45, 100, 97, 116, 97, 46, 97, 108
I/flutter ( 9654):
I/flutter ( 9654):   ERROR ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter ( 9654):   ERROR │ #0   Log.e (package:kakunin/utils/log.dart:22:13)
log.dart:22
I/flutter ( 9654):   ERROR │ #1   CloudAccountNotifier.restoreWebDav (package:kakunin/provider.dart:304:11)
provider.dart:304
I/flutter ( 9654):   ERROR ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.