receive_sharing_intent icon indicating copy to clipboard operation
receive_sharing_intent copied to clipboard

Can't get past share dialog on iOS

Open schoudha opened this issue 4 years ago • 12 comments

Things work fine on Android but on iOS I get the share dialog and then it does nothing.

Any ideas?

schoudha avatar Jan 16 '20 07:01 schoudha

Same here, I can't figure out why I can't pass the dialog in iOS. Check all the xcode configuration multiple times and getting always the same results.

Is there anybody who managed to have it working in iOS?

VictorGa avatar Jan 22 '20 15:01 VictorGa

Same here, does not go past the share screen on iOS.

nfodor avatar Jan 28 '20 16:01 nfodor

It happens the same to me.

PabloCrucitta avatar Feb 22 '20 05:02 PabloCrucitta

Try the solution from https://github.com/KasemJaffer/receive_sharing_intent/issues/36#issuecomment-595130324 and tell if it helped.

wrbl606 avatar Mar 05 '20 09:03 wrbl606

Try the solution from #36 (comment) and tell if it helped.

That fixed it for me!

acoutts avatar Apr 06 '20 10:04 acoutts

@schoudha @VictorGa @PabloCrucitta @nfodor is this still an open issue?

GRBurst avatar Apr 21 '20 10:04 GRBurst

Yeah so on android no problem but ios i would like to avoid the dialog to write comment before sending, because after i tap send it works but the app i send it from freezes. 

On Apr 21, 2020, at 3:24 AM, GRBurst [email protected] wrote:



@schoudha @VictorGa @PabloCrucitta @nfodor is this still an open issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

nfodor avatar Apr 21 '20 11:04 nfodor

@schoudha @VictorGa @PabloCrucitta @nfodor is this still an open issue?

Fixed, thank you very much!

PabloCrucitta avatar Apr 21 '20 16:04 PabloCrucitta

Yeah so on android no problem but ios i would like to avoid the dialog to write comment before sending, because after i tap send it works but the app i send it from freezes. On Apr 21, 2020, at 3:24 AM, GRBurst [email protected] wrote:  @schoudha @VictorGa @PabloCrucitta @nfodor is this still an open issue? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

I get this dialog also. But only on the first share action. The app btw is not really frozen, there seems to be a semi-transparent window which you can slide down

woutervanwijk avatar Sep 13 '20 14:09 woutervanwijk

I got rid of the dialog by adding these two lines to the end of the redirectToHostApp function in ShareViewController.swift:

...
        extensionContext!.completeRequest(returningItems: [], completionHandler: nil)
        // these two:
        extensionContext!.completeRequest(returningItems: nil, completionHandler: nil)
        extensionContext!.cancelRequest(withError:NSError())
    }
...

woutervanwijk avatar Sep 15 '20 09:09 woutervanwijk

I got rid of the dialog by adding these two lines to the end of the redirectToHostApp function in ShareViewController.swift:

...
        extensionContext!.completeRequest(returningItems: [], completionHandler: nil)
        // these two:
        extensionContext!.completeRequest(returningItems: nil, completionHandler: nil)
        extensionContext!.cancelRequest(withError:NSError())
    }
...

Thanks it's working

thegrxp avatar Dec 16 '20 10:12 thegrxp

I got rid of the dialog by adding these two lines to the end of the redirectToHostApp function in ShareViewController.swift:

...
        extensionContext!.completeRequest(returningItems: [], completionHandler: nil)
        // these two:
        extensionContext!.completeRequest(returningItems: nil, completionHandler: nil)
        extensionContext!.cancelRequest(withError:NSError())
    }
...

thank you so much ! it's working, but i cannot receive media file, text on ios device

ThuyenPVT avatar Jul 14 '21 03:07 ThuyenPVT