example native.showPopup( "mail", options ) not working on ios device?

Hi,

When using the provided examples on IOS I don’t receive the email. I am using build 2843 on OSX latest. IOS 9.2

local options = { to = { "myemail@address.com" }, subject = "My High Score", isBodyHtml = true, body = "\<html\>\<body\>I scored over \<b\>9000\</b\>!!! Can you do better?\</body\>\</html\>", attachment = { } } native.showPopup( "mail", options )

with these build.settings

-- -- For more information on build.settings see the Corona SDK Build Guide at: -- http://docs.coronalabs.com/guide/distribution/buildSettings/index.html -- settings = { plugins = { ["CoronaProvider.native.popup.activity"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, }, }, }, }

What happens is that the email popup shows, the relevant data is there like email address etc.

After sending the email nothing arrives in the mailbox.

When running on Android it works.

What am I missing here?

The native.showPopup( “mail” ) doesn’t use the activity plugin. The activity plugin, you attach to a button that will show the activity dialog, then the user can tap on the mail button.

You should use one or the other.

Rob

Ha, I was in this predicament since it worked earlier, but not anymore. With my expertise on Corona that sometimes happens to me…

The example I posted was already a kind of end state, the original code was more in line with the examples on the site but since they not work (anymore) I checked the docs and saw something on build settings which I then tried to implement in a wrong way.

In the end what happened was that I switched using another test ipad on which the iOS mail client was not configured.

Well, that is the reason the mail did not get sent…, it does not trigger an error.

After switching back to the original test ipad it works as usual.

Thanks again for looking at this.

Just to make sure, your app is working as expected now?

Rob

Thanks, yes I am good. Also tested the native canshowpopup, I can report it reports true even when the email on ios level is not configured :-). So I don’t think I can check this from the app…

The native.showPopup( “mail” ) doesn’t use the activity plugin. The activity plugin, you attach to a button that will show the activity dialog, then the user can tap on the mail button.

You should use one or the other.

Rob

Ha, I was in this predicament since it worked earlier, but not anymore. With my expertise on Corona that sometimes happens to me…

The example I posted was already a kind of end state, the original code was more in line with the examples on the site but since they not work (anymore) I checked the docs and saw something on build settings which I then tried to implement in a wrong way.

In the end what happened was that I switched using another test ipad on which the iOS mail client was not configured.

Well, that is the reason the mail did not get sent…, it does not trigger an error.

After switching back to the original test ipad it works as usual.

Thanks again for looking at this.

Just to make sure, your app is working as expected now?

Rob

Thanks, yes I am good. Also tested the native canshowpopup, I can report it reports true even when the email on ios level is not configured :-). So I don’t think I can check this from the app…