#Unable to share on Facebook and Twitter on iOS

1 messages · Page 1 of 1 (latest)

muted acorn
#

When I try to call the SocialComposer for FB or Twitter, it would seem like an transulcent black screen appears in front of the game but nothing can be clicked. There are also no errors

vocal junco
#

Please share what is the ios version you are on.

muted acorn
#

We are building targeted at min iOS 12 version. The tested devices are at ios 16~17

vocal junco
#

We will do a test and get back to you.

muted acorn
#

Any updates on this?

muted acorn
#

@vocal junco Hello, is there any updates on this?

vocal junco
#

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.

teal perch
#

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.

vocal junco
#

You use Social Share Composer right?

teal perch
#

Yes i do

teal perch
#

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

vocal junco
vocal junco
#

@lone oasis The same issue was reported here.

#

We are on it and update by tomorrow.

lone oasis
somber spade
#

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.

vocal junco
#

@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.

vocal junco
lone oasis
vocal junco
lone oasis
#

There is no error message. Just this as per my report.

vocal junco
#

I just double checked again.
What is the ios version you are on?

lone oasis
vocal junco
vocal junco
#

@lone oasis Can you please pass me an apk with SocialShareComposer demo scene alone?

lone oasis
vocal junco
#

@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?

lone oasis
#

@vocal junco No, I don't. Any updates yet?

somber spade
#

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.

somber spade
#

@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

vocal junco
#

Can you reproduce it from our demo scene?

teal perch
#

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.

vocal junco
teal perch
#

Thank you bro

vocal junco
#

I just checked it and its showing up as expected and got published.

somber spade
#

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?

vocal junco
#

Yes, screenshot.

#

both use internally same method. We just convert the texture to encoded image and pass to native.

somber spade
#

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

vocal junco
#

Can you please share your code snippet for me to quickly try on my end?

somber spade
#

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

teal perch
#

Hi, do you have any update on this issue?

vocal junco
#

Will get an update today or by tomorrow.

lone oasis
vocal junco
#

@lone oasis Your issue is related to API 34 + Android right?
What chen reported is a different one.

lone oasis
somber spade
#

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.

vocal junco
#

@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.

somber spade
#

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...

vocal junco
#

@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

vocal junco
teal perch
#

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

vocal junco
#

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)

somber spade
#

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!

vocal junco
#

@somber spade Do you see same behaviour with our demo scene too?

vocal junco
lone oasis
#

Still the same result. I have X installed, no sure what is the issue or if its my phone? @vocal junco

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.

lone oasis
#

Ok, will try. My phone is Samsung Galaxy A33 5G.

vocal junco
#

Thanks @lone oasis
Please update me as soon as you try it. Would like to close this soon.

lone oasis
#

@vocal junco On another phone the composer is available..

vocal junco
#

ok. Can you please try this?

#
  1. Uninstall twitter from your phone
  2. Reinstall and login
  3. Try once again
lone oasis
#

Hm.. now it works 🤔

#

So does that mean all users tha had Twitter preinstalled and install our app will have this issue?

vocal junco