You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.
I am trying to share a screenshot and text on iOS. I understand the limitations of sharing both a screenshot and text on certain applications, and on Facebook and Messenger the screenshot shares fine without the text included.
However, when I try to share to Instagram, after tapping the Instagram app it gives me the option to share to a Reel, Post, Story, or Message. When I select Reel it seems to work, however when I select Story or Message I get a pop-up that says "Error, Something went wrong." When I select Post I get a pop-up that says "Error, We're sorry, but something went wrong. Please try again."
I tried removing the text portion of my share so that it was just attempting to share the image, and was still getting the errors on just Instagram. Every other application I have tried (Facebook, Messenger, Slack, Teams, Email, Snapchat, etc) shares successfully.
I am using what is essentially the sample code:
` private IEnumerator TakeScreenshotAndShare()
{
yield return new WaitForEndOfFrame();
I am trying to share a screenshot and text on iOS. I understand the limitations of sharing both a screenshot and text on certain applications, and on Facebook and Messenger the screenshot shares fine without the text included.
However, when I try to share to Instagram, after tapping the Instagram app it gives me the option to share to a Reel, Post, Story, or Message. When I select Reel it seems to work, however when I select Story or Message I get a pop-up that says "Error, Something went wrong." When I select Post I get a pop-up that says "Error, We're sorry, but something went wrong. Please try again."
I tried removing the text portion of my share so that it was just attempting to share the image, and was still getting the errors on just Instagram. Every other application I have tried (Facebook, Messenger, Slack, Teams, Email, Snapchat, etc) shares successfully.
I am using what is essentially the sample code:
` private IEnumerator TakeScreenshotAndShare()
{
yield return new WaitForEndOfFrame();
Additional info
Here is a log I got when attempting to share to my Instagram Story:
`2023-04-07 14:37:12.077694-0700 CafeSudoku[30089:2121970] [core] SLRemoteComposeViewController: (this may be harmless) viewServiceDidTerminateWithError: Error Domain=_UIViewServiceErrorDomain Code=1 "(null)" UserInfo={Terminated=disconnect method}
2023-04-07 14:37:12.572509-0700 CafeSudoku[30089:2121970] Shared to com.burbn.instagram.shareextension with result: 0
Share result: NotShared, selected app: com.burbn.instagram.shareextension
<>c:b__5_0(ShareResult, String)
2023-04-07 14:37:12.816105-0700 CafeSudoku[30089:2122385] [ShareSheet] connection invalidated`
The text was updated successfully, but these errors were encountered: