Skip to content
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

[ BUG ] : shareToFacebookStory broken in iOS 18 with version 0.3.2 #315

Open
shreyasacharya-devnco opened this issue Sep 26, 2024 · 1 comment
Assignees

Comments

@shreyasacharya-devnco
Copy link

Plugin name
Appinio social share v0.3.2

Describe the bug
have implemented for Insta Story and FB story functions with same path.
it works correctly for Insta Story
but for Facebook story

  • Facebook App launched shows a sotry view for fraction of a second and comes back to flutter app.
    followed everything as per readme file

To Reproduce
Steps to reproduce the behavior:

  1. code i use to launch -
    String path = await saveTempFile();
    await appinioSocialShare.iOS.shareToFacebookStory("", backgroundImage: path);
  • Path value from debug - /var/mobile/Containers/Data/Application/D35EF21A-C584-498D-8100-B806E33400D9/Documents/1727337904521.jpg

same works with insta

  1. error i see in xcode
    Snapshot request 0x30079dbc0 complete with error: <NSError: 0x3007cfde0; domain: FBSSceneSnapshotErrorDomain; code: 2; "the request was denied"> {
    NSLocalizedDescription = an error occurred during a scene snapshotting operation;
    }

Expected behavior

  • Should open facebook successfully and stay open on story view with image shown
  • same as it works for instagram story

Screenshots
Attached video for Instagram and facebook
FB:

ScreenRecording_09-26-2024.14-14-15_1.MP4

INSTA:

ScreenRecording_09-26-2024.14-14-51_1.MP4

Smartphone

  • Device: iPhone 11 Pro Max
  • OS: iOS18.

Additional context
Some issue exists with whatsapp as well , but native share opens on ios with WhatsAppTmp written on it and when whatsapp is selcted then goes ot whatsap with blank image

will create another bug for it later. I have fixed it with share_plus

@reynirf
Copy link

reynirf commented Jan 8, 2025

Can you share how you fixed it using share_plus? It could help with adapting a fix for this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants