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

Add url support, handle null strings on iOS, and fix deprecated calls on iOS. #75

Open jacobhanshaw opened 4 years ago

jacobhanshaw commented 4 years ago

Add option to pass url. Fix reference to deprecated pop over calls in _NativeShare_Share in NativeShare.mm. Handle null string parameters in _NativeShare_Share in NativeShare.mm.

yasirkula commented 4 years ago

I've skimmed through the native code but I think I need some help understanding the behavioral difference. What happens differently when I call SetUrl(url) instead of SetText(url)? Or when I call SetText("some text " + url)? Why are Messenger, Facebook and Twitter shares considered special cases?