yasirkula / UnityNativeShare

A Unity plugin to natively share files (images, videos, documents, etc.) and/or plain text on Android & iOS
MIT License
891 stars 131 forks source link

Unable to load image - Instagram Feed Share Problem - Android #70

Closed sepehr777 closed 3 years ago

sepehr777 commented 4 years ago

Hi, I just used the example code and remove all the subject and text parts, only image file remain, but when I try to share my screenshot in Instagram feed, I'll get the "Unable To LoadImage" error. All other share options are okay, like the Instagram story or WhatsApp.

Android Version is 8 - Phone is Huawei Nova 2 Plus - Landscape

yasirkula commented 4 years ago

I'm suspecting that this is an issue with the Instagram app itself, since other developers are also facing a similar issue. I'm following this SO entry to get updates on the issue: https://stackoverflow.com/questions/60776730/instagram-android-share-intent-unable-to-load-image

P.S. Seems like with the latest Instagram update, the issue is now fixed: https://developers.facebook.com/support/bugs/1326888287510350/

sepehr777 commented 4 years ago

Thank you for your fast reply :) The issue still stands there with the last official release, maybe it will fix with the beta version.

Edit: Problem solved in beta version And I will be really grateful if you can update this plugin to work with broken versions of Instagram .

sepehr777 commented 4 years ago

Can I be hopeful there will be an update to fix this issue for broken versions of Instagram? And I have another question that is not related to the topic, but can anyone help me with sharing directly on Instagram? I tried all the suggested app package names but couldn't succeed.

yasirkula commented 4 years ago

I'm not planning to release a fix, I don't know if there is a way to fix this issue on broken Instagram versions. I haven't tested SetTarget with Instagram, so I myself can't help with that but hopefully another developer can answer your question.