王威

Results 8 comments of 王威

The Flutter module can successfully open files when run separately

OpenFilePlugin.m - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {}, In this methon,[self openFileWithUIActivityViewController:fileURL]; fileURL has a value; - (void)openFileWithUIActivityViewController:(NSURL *)fileURL{}, Jump to this method, fileURL becomes to be a (NSURL*)0x0

NSURL *fileURL = [NSURL fileURLWithPath:filePath]; There is Chinese in the file path,

error log : Invalid content type identifier com.apple.pktransaction specified in extension com.apple.Passbook.QuicklookPreviewExtension

// 下载缓存并预览文件 Future downloadAndPreviewFile(String? url, String? fileName) async { if (url == null || fileName == null) { MyToast.showToast("下载地址为空"); } else { try { // 获取设备存储路径 final directory = DeviceUtils.isAndroid...

> > error log : Invalid content type identifier com.apple.pktransaction specified in extension com.apple.Passbook.QuicklookPreviewExtension > > I'm not experienced mixed with the situation, but I found the same problem on...

> > error log : Invalid content type identifier com.apple.pktransaction specified in extension com.apple.Passbook.QuicklookPreviewExtension > > I'm not experienced mixed with the situation, but I found the same problem on...