Closed Keshavjps28 closed 4 years ago
Did you test the code yourself and verify that it works?
Yes
Sorry for the doubt but I'm sure that the following line will change the text instead of setting the recipient:
if( recipients.length() > 0 )
intent.putExtra( Intent.EXTRA_TEXT, recipients );
And there are numerous compilation errors in NativeShare.cs...
I got it, Somehow EXTRA_TEXT is replaced by EXTRA_EMAIL, Due to that Error is occurring.
Here's your NativeShare.cs file in full. This is probably not in sync with your own NativeShare file since there are compiler errors (undefined recipients variable, multiple SetTitle function declarations and etc.).
I am not planning to add recipients functionality at the moment but thanks for creating this pull request 🙂
Hello Süleyman I have added a functionality to allow the user to set recipient E-mail in case of E-mail share as discussed in this issue(https://github.com/yasirkula/UnityNativeShare/issues/79). This is my first attempt at open source contribution hence would request you to guide me with the process.