-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ios and flutter mixing, Open file error #322
Comments
The Flutter module can successfully open files when run separately |
OpenFilePlugin.m
In this methon,[self openFileWithUIActivityViewController:fileURL]; fileURL has a value;
|
NSURL *fileURL = [NSURL fileURLWithPath:filePath]; |
error log : Invalid content type identifier com.apple.pktransaction specified in extension com.apple.Passbook.QuicklookPreviewExtension |
To get the real path of the file, it is recommended to use path_provider to get it, and then determine whether the app has permission to open it |
// 下载缓存并预览文件
} |
I'm not experienced mixed with the situation, but I found the same problem on here, said it may be just a warning |
I have already sent channelMethod using mixed encoding and processed it using iOS native, temporarily resolving this issue |
Anyway, thank you very much |
[ERROR] failed to get service endpoint creating for for item at URL file:///var/mobile/Containers/Data/Application/1415D775-BCFC-486C-88C2-82F4A107E404/Documents/%E4%B8%AD%E4%BA%A4%E6%95%B0%E7%A7%91%E7%AE%A1%E7%90%86%E5%90%8E%E5%8F%B0ios%E9%A1%B5%E9%9D%A2%E6%8E%A5%E5%8F%A3%E6%96%87%E6%A1%A3.docx: Error Domain=NSCocoaErrorDomain Code=3328 "所请求的操作未能完成,因为该功能不受支持。"
Collaboration: error loading metadata for documentURL:file:///var/mobile/Containers/Data/Application/1415D775-BCFC-486C-88C2-82F4A107E404/Documents/%E4%B8%AD%E4%BA%A4%E6%95%B0%E7%A7%91%E7%AE%A1%E7%90%86%E5%90%8E%E5%8F%B0ios%E9%A1%B5%E9%9D%A2%E6%8E%A5%E5%8F%A3%E6%96%87%E6%A1%A3.docx error:Error Domain=NSCocoaErrorDomain Code=3328 "所请求的操作未能完成,因为该功能不受支持。"
Attempt to present <UIActivityViewController: 0x105298600> on <WKMainTabbarController: 0x1038d8fc0> (from <WKMainTabbarController: 0x1038d8fc0>) whose view is not in the window hierarchy.
connection invalidated
The text was updated successfully, but these errors were encountered: