tjvantoll / nativescript-social-share

♻️ A NativeScript plugin for using the iOS/Android social sharing widgets
MIT License
94 stars 48 forks source link

is there a way to use a text for "to" (address email)? #63

Closed giulianimartini closed 4 years ago

giulianimartini commented 4 years ago

Hi,

I want to know if there's a way to send a text (like email address) and add it on the "to" field in the Gmail app, for example.

When I use shareUrl(emailAddress, 'some subject') and choose gmail app, it uses the 'some subject' on the right place (subject), but the emailAddress is going to the email body. Can I fill the 'to' field?

Note that I don't want to open the default email app. I want to allow the user to choose the application.

Thanks in advance.

giulianimartini commented 4 years ago

Forget what I asked.

I have found the nativescript-email plugin that does what I want.