yasirkula / UnityNativeShare

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

There is no way to set target apps for ios #113

Closed amit-pant closed 3 years ago

amit-pant commented 3 years ago

Description of the bug

There is no way to set target app to share, how we can restrict the target apps in ios?

Reproduction steps

If possible, providing reproduction steps would be very helpful while pinpointing the issue. You can also post screenshots if you think they would be helpful.

Platform specs

Please provide the following info if this is a Unity 3D repository.

Additional info

Please check Logcat (Android) or Xcode console (iOS) for any meaningful error messages and include them here.

yasirkula commented 3 years ago

Please see the first FAQ entry: https://github.com/yasirkula/UnityNativeShare#faq

amit-pant commented 3 years ago

Hey man,

With this plugin is it possible to add multiple targets for Android, like if I want to share only on Facebook and Instagram?

On Sun, May 23, 2021 at 3:04 AM Süleyman Yasir KULA < @.***> wrote:

Closed #113 https://github.com/yasirkula/UnityNativeShare/issues/113.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yasirkula/UnityNativeShare/issues/113#event-4782729422, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS4WPQDMCSRFZUMYBOLIOYLTPAPOZANCNFSM45K44NTQ .

-- Thanks & Regards,

Amit Pant

yasirkula commented 3 years ago

You can call AddTarget multiple times, once for each target app.

amit-pant commented 3 years ago

But in this case it's always calling the first one by default, I'm not getting a popup

On Wed, Jun 2, 2021 at 3:51 AM Süleyman Yasir KULA @.***> wrote:

You can call AddTarget multiple times, once for each target app.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yasirkula/UnityNativeShare/issues/113#issuecomment-852519741, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS4WPQBBZ64B37IGJKN4R53TQVMQDANCNFSM45K44NTQ .

-- Thanks & Regards,

Amit Pant

yasirkula commented 3 years ago

Then the second package name you are entering probably doesn't exist.

amit-pant commented 3 years ago

Got it, thank you man, really appreciate it.

On Thu, Jun 3, 2021, 12:00 AM Süleyman Yasir KULA @.***> wrote:

Then the second package name you are entering probably doesn't exist.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yasirkula/UnityNativeShare/issues/113#issuecomment-853284187, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS4WPQAOVMIDAHZIXTYPR5LTQZ2DPANCNFSM45K44NTQ .

amit-pant commented 2 years ago

Hey Man,

Greetings!! Hope you are well,

I'm facing an issue with share functionality, Actually when I'm sharing an image with some text and url, only Image is sending, in few apps like whtsapp, slack its working fine, but not able to send in Skype, Please help

On Thu, Jun 3, 2021 at 3:13 AM Amit Kumar Pant @.***> wrote:

Got it, thank you man, really appreciate it.

On Thu, Jun 3, 2021, 12:00 AM Süleyman Yasir KULA < @.***> wrote:

Then the second package name you are entering probably doesn't exist.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yasirkula/UnityNativeShare/issues/113#issuecomment-853284187, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS4WPQAOVMIDAHZIXTYPR5LTQZ2DPANCNFSM45K44NTQ .

-- Thanks & Regards,

Amit Pant

yasirkula commented 2 years ago

Yeah, that's unfortunately a common cross-platform issue. Some users report the same for WhatsApp on iOS, some for another app on Android and so on. Quoting the FAQ:

  • I can't share image with text on X app

It is just not possible to share an image/file with text/subject on some apps (e.g. Facebook), they intentionally omit either the image or the text from the shared content. These apps require you to use their own SDKs for complex share actions. For best compatibility, I'd recommend you to share either only image or only text.

yasirkula commented 2 years ago

If you come across another sharing solution that can share image with text on that problematic app (Skype, in your case), please let me know (no sarcasm).

amit-pant commented 2 years ago

Thanks for your quick reply, and yes, if I will come around any solution, I'll let you know.

On Fri, Nov 26, 2021, 2:32 AM Süleyman Yasir KULA @.***> wrote:

If you come across another sharing solution that can share image with text on that problematic app (Skype, in your case), please let me know (no sarcasm).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yasirkula/UnityNativeShare/issues/113#issuecomment-979467579, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS4WPQGTD6ESOBLAXQ6JHLLUN2P7VANCNFSM45K44NTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.