Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Wrong email subject on iOS (11.4) #19

Open
hippogamesunity opened this issue Jun 28, 2018 · 11 comments
Open

Wrong email subject on iOS (11.4) #19

hippogamesunity opened this issue Jun 28, 2018 · 11 comments

Comments

@hippogamesunity
Copy link

hippogamesunity commented Jun 28, 2018

Hi! When I send email from iOS via Share dialog, I've got an email with wrong Subject. It's the same as Message. This happens only on iOS. On Android it's fine.

Here is an example of the email:
image

Here is how I make call to you plugin:
image

@yasirkula
Copy link
Owner

Your code looks correct. The issue is that, native share dialogs can behave unexpectedly in some cases -like not showing up Instagram when a text is set- and I think this is one of these cases. My code doesn't have any app specific logic, so I am unsure whether or not this can be fixed.

@hippogamesunity
Copy link
Author

I can select the apps to use for sharing in iOS 11.4.
Just checked sharing feature in Evernote, there is the same issue:
image

Ok, it's not related to your plugin.

@quangcongvn
Copy link

me too, share on Gmail same subject and message
on Android work fine.

@yasirkula
Copy link
Owner

I'll reopen this issue but I don't think there is anything I can do to fix this issue.

@yasirkula yasirkula reopened this Jul 15, 2018
@quangcongvn
Copy link

quangcongvn commented Jul 15, 2018

I think best practice are set message only.
Let user set subject, because automatically set subject can make mail system filter spam or ads. Or make receiver lazy read because it like automatically mail.
(ex Game name, App name)

@jrhager84
Copy link

Is there nothing that can be done? I was kind of hoping to be able to set a separate subject on iOS.

I think saying something is 'best practice' when broken is a half-solution. I think the user can decide whether or not it's a best practice.

It makes it nice when you have a template that you can follow, and the subject is pretty important. Do you know what is preventing it from being able to be set? Maybe we can collectively investigate?

@jrhager84
Copy link

@yasirkula
Copy link
Owner

Are you trying to share via Gmail? If I google objective c uiactivityviewcontroller email set subject "gmail", people seems to agree that you can't set the subject of a mail composed in Gmail.

@jrhager84
Copy link

How does the Craigslist app do it?

Surely there has to be a solution

@yasirkula
Copy link
Owner

I haven't used Craigslist, does it allow sharing to social networks like Facebook or does it only allow composing emails?

@jrhager84
Copy link

I believe you can share to wherever, but it sets the subject separate to the body

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants