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

Error no shared text when share photo in iphone #80

Open
pcorqui opened this issue Jul 28, 2020 · 2 comments
Open

Error no shared text when share photo in iphone #80

pcorqui opened this issue Jul 28, 2020 · 2 comments

Comments

@pcorqui
Copy link

pcorqui commented Jul 28, 2020

If you are creating an issue for a BUG please fill out this information. If you are asking a question or requesting a feature you can delete the sections below.

Failure to fill out this information will result in this issue being closed. If you post a full stack trace in a bug it will be closed, please post it to http://gist.github.com and then post the link here.

Bug Information

Error when shared photo with text in iOS

Version Number of Plugin: 2.2.1
Device Tested On: iphone 8 and ipone 11
Simulator Tested On:
Version of VS: 16.6.0
Version of Xamarin: 4.6.0.847
Versions of other things you are using:

Steps to reproduce the Behavior

Expected Behavior

Actual Behavior

in android is fine, but in iOS only shared the photo whitout text.

Code snippet

FacebookSharePhoto photo = new FacebookSharePhoto(text, data);
FacebookSharePhoto[] photos = new FacebookSharePhoto[] { photo };
FacebookSharePhotoContent photoContent = new FacebookSharePhotoContent(photos, text);
await CrossFacebookClient.Current.ShareAsync(photoContent);

Screenshotst

@DeanZhuo
Copy link

DeanZhuo commented Nov 18, 2020

In my case, the 2nd parameter is an URL, so I used null as my input, and write the text at the third parameter.
FacebookSharePhotoContent photoContent = new FacebookSharePhotoContent(photos, null, Message);
what is your type for text?

@pcorqui
Copy link
Author

pcorqui commented Nov 20, 2020

Yeah, I have try this option in android it's functionality is correct but in iOS no share the text. in this moment I cant debug in iOS but I try debug and check the solution

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

2 participants