plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

[share_plus] Save to Files on iOS results in an error

Open uchidacode opened this issue 2 years ago • 6 comments

System info

Issue occurs on: iOS Plugin name: share_plus Plugin version: 3.0.4 Flutter doctor output: Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 2.8.0, on macOS 12.0.1 21A559 darwin-arm, locale en) [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 13.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2020.3) [✓] VS Code (version 1.63.0)

Problem

When I click Save to Files on iOS, I get the following error. Also, AirDrop will immediately fail after selecting the destination.

[NSExtension] Extension request contains input items but the extension point does not specify a set of allowed payload classes. The extension point's NSExtensionContext subclass must implement `+_allowedItemPayloadClasses`. This must return the set of allowed NSExtensionItem payload classes. In future, this request will fail with an error. Extension: <EXConcreteExtension: 0x2804933c0> {id = com.apple.DocumentManagerUICore.SaveToFiles} Items: (

    "<NSExtensionItem: 0x2833c0690> - userInfo: {\n    NSExtensionItemAttachmentsKey =     (\n        \"<NSItemProvider: 0x281a98e70> {types = (\\n    \\\"public.zip-archive\\\",\\n    \\\"public.file-url\\\"\\n)}\"\n    );\n    \"com.apple.UIKit.NSExtensionItemUserInfoIsContentManagedKey\" = 0;\n}"
)

[ShareSheet] cancelled request - error: invalid argument

is there any solution for that?

uchidacode avatar Dec 11 '21 01:12 uchidacode

What was the solution to this?

flogy avatar Jan 20 '22 12:01 flogy

Why this issue is closed? It's still present. Any explanation? @uchidacode

lecicdjuro avatar Jan 28 '22 18:01 lecicdjuro

Not sure about the AirDrop problem, but over here there seems to be a big difference between error logs in debug mode versus release mode.

EnduringBeta avatar Jul 13 '22 00:07 EnduringBeta

I had accidentally Closed it by mistake. I still haven't resolved the issue, so I need you to investigate.

uchidacode avatar Jul 13 '22 01:07 uchidacode

Has anyone got a solution so far?

abindrip avatar Aug 02 '22 13:08 abindrip

This would be a really great bug to get fixed! Can confirm I have the same issue.

Update

Oups, think I meant this issue: https://github.com/fluttercommunity/plus_plugins/issues/730

simplenotezy avatar Sep 05 '22 22:09 simplenotezy

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days

github-actions[bot] avatar Dec 28 '22 00:12 github-actions[bot]