#Unable to share on Facebook and Twitter on iOS
1 messages · Page 1 of 1 (latest)
Please share what is the ios version you are on.
We are building targeted at min iOS 12 version. The tested devices are at ios 16~17
We will do a test and get back to you.
Any updates on this?
@vocal junco Hello, is there any updates on this?
Hi, we were able to reproduce this issue on 17.2.1
We will see this weekend if we can rollout a fix for this.
Hi, I'm using iOS 17.5.1, device iPhone 14 Pro Max, and got the same issue. When I try to share native Facebook or Twitter, then it's like something covers the entire screen, I can't touch on anything.
Also my iOS users on my published app report the same issue. The only solution for the users is to exit the app completely and launch it again.
This is really a seriously bad experience for them.
On Android it works fine.
You use Social Share Composer right?
Yes i do
Hi, do you have any update or plan on this this issue? This is critical for my app. It's aready published and my users report very often. I purchased this asset almost a year
Hi,
I will get you an update by tomorrow for sure. Would request you to wait for today.
Thanks for the update.
Thank you. I'm waiting to fix for my iOS users too. they're giving my game 1 star 'cause the game become unresponsive if they share.
@somber spade @lone oasis @muted acorn
Found the reason!
Will get a fix at the earliest possible.
The same was working on older versions but not new, so was tough to figure out the cause.
please update this file and let me know if you still face the issue
Replaced the file, still doesn't work (both in-game and in the test scene). Its saying the composer is not available.
Can you please share the exact error?
I just double checked again.
What is the ios version you are on?
I am on Android 14
I see!
@lone oasis Can you please pass me an apk with SocialShareComposer demo scene alone?
Any updates? I have tested the same thing on the newest version. On ios it seems to be working, but Android still doesn't work.
@lone oasis I arranged a test this week. Didn't get the android 14 device last week.
Do you have any other devices < 14? If so can you confirm if you still see the issue there?
@vocal junco No, I don't. Any updates yet?
i tested on Android 13 device and it's working as expected. i haven't tested on Android 14 yet. Looking forward to your news on this.
@Ayyappa (VB Team) on iOS 17.5.1, i can't attach image to the post when sharing on Facebook. while on Android I can do that. Please take a look. Thank you.
@vocal junco
I'm on 17.5.1 too
Can you reproduce it from our demo scene?
I'm not on my laptop right now. I can confirm that the bug that makes app uninteractable when share on iOS is fixed. But I can't attach image. On Android it I can do that with the same code.
I see. Pls let me double check from my end too.
Thank you bro
I just checked it and its showing up as expected and got published.
ah, i for got to tell, i can't attach the image in the Resources folder on iOS (on Android, this is working). For the screenshot, it's working on both iOS and Android.
I guess you're testing attaching the screenshot?
Yes, screenshot.
both use internally same method. We just convert the texture to encoded image and pass to native.
I put an .jpg image in the Resources folder and couldn't attach it when sharing on Facebook on iOS. that's exactly the error on my side. On Android, it's working with the same code
Can you please share your code snippet for me to quickly try on my end?
yes sure
SocialShareComposer composer = SocialShareComposer.CreateInstance(SocialShareComposerType.Facebook);
Texture2D texture = Resources.Load<Texture2D>(NAME_TEXTURE_SGARE_REWARD);
composer.AddImage(texture);
composer.SetCompletionCallback((result, error) =>
{
if (result.ResultCode == SocialShareComposerResultCode.Done) {
// DO SOMETHING
}
});
composer.Show();
with string NAME_TEXTURE_SGARE_REWARD = "SHARE_REWARD_IMG_2";
i have an image named SHARE_REWARD_IMG_2.jpg in my Resources folder
Hi, do you have any update on this issue?
Will get an update today or by tomorrow.
Update?
@lone oasis Your issue is related to API 34 + Android right?
What chen reported is a different one.
This is a thread regarding my issue. And I am still waiting for some updates. Yes and you promised that there was a test scheduled for this. So do you have any news?
With my issue (sharing on iOS but unable to attach image from Resources folder), when the fix available, can you please give me a hot fix like a file or code snippets like last time?
Cause I tried updating the asset and got my app crashed on launch, and I'm not ready to struggle with another issue...
Thank you very much.
@somber spade I will get a solution for yours but before that I need to resolve @lone oasis 's issue.
I will keep you posted.
Thank you. Looking forward to your fix day by day.
My bug was actually 2 issues, one was it disabled any input/touch from user, now it can't load the image. I'm a little frustrated...
@lone oasis I tried on API 34 pixel device with twitter installed (and logged in). Its working as expected.
Can you try installing this apk and try if you can still reproduce the issue? https://easyupload.io/0k2woo
Are you talking about input from webview?
Please send me a screenshot of your resources image inspector import settings once.
No, i mean when sharing on iOS, something covers entire screen and prevents user from touching. But it was fixed.
Now the only issue remaining on my side is I can't attach image fron Reaources folder when sharing in iOS. On Android, it works, so there must be something wrong on iOS.
I will send you the inspector screenshot when I'm on my laptop.
I think I set the correct settings for it. Like the read and write permissions
No, i mean when sharing on iOS, something covers entire screen and prevents user from touching. But it was fixed.
Got it
Now the only issue remaining on my side is I can't attach image fron Reaources folder when sharing in iOS. On Android, it works, so there must be something wrong on iOS.
I just checked it with the exact above code and its working fine on both iOS and Android. As I can't reproduce the issue, I would need the crash log if you have any.
Also, please confirm if the same functionality is working in our SocialShareDemo scene or not (use AddImage button)
oh, it's working on your side. On my side, it just shows the sharing popup without the image, and without any error.
Let me try to find some clues and will get back if I have any.
Thanks for your support!
@somber spade Do you see same behaviour with our demo scene too?
@lone oasis Did you try that apk?
Still the same result. I have X installed, no sure what is the issue or if its my phone? @vocal junco
I request you to arrange another phone if possible. I already tried on 3 different phones (diff manufacturers too) but all are fine.
Ok, will try. My phone is Samsung Galaxy A33 5G.
Thanks @lone oasis
Please update me as soon as you try it. Would like to close this soon.
@vocal junco On another phone the composer is available..
ok. Can you please try this?
- Uninstall twitter from your phone
- Reinstall and login
- Try once again
Hm.. now it works 🤔
So does that mean all users tha had Twitter preinstalled and install our app will have this issue?
No. Actually, its the same code from nearly 5 years. Didnt find any issue with it.