[TIMOB-17794] IOS 8 : Opening an email dialog does not work on IOS 8.0.2
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-09-27T00:05:45.000+0000 |
Affected Version/s | Release 3.4.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | qe-3.4.0 |
Reporter | Lokesh Choudhary |
Assignee | Ingo Muschenetz |
Created | 2014-09-26T22:11:46.000+0000 |
Updated | 2014-09-27T00:05:52.000+0000 |
Description
I cant check if this is a regression as SDK 3.3.0.GA is not compatible with xcode 6.0.1
Description:
1. Replace the contents of app.js with the code below:
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
var emailDialog = Ti.UI.createEmailDialog();
emailDialog.open();
win1.open();
2. Build for IOS 8 (this is device independent).
Actual Result:
1. The email dialog does not open in IOS 8.0.2 but opens fine on IOS 7.1.2.Expected Result:
1. The email dialog should open in IOS 8.0.2.Attachments
File | Date | Size |
---|---|---|
IOS_7.1.2.png | 2014-09-26T22:11:46.000+0000 | 43438 |
IOS_8.0.png | 2014-09-26T22:11:46.000+0000 | 32240 |
How does this relate to TIMOB-17708?
I am not sure its related, but in TIMOB-17708 the issue is the message and the recipient(s) are not set in the email dialog & with this issue the email dialog does not come up at all, even for the code in TIMOB-17708. This is little confusing, if this issue existed then it would have be apparent while working on TIMOB-17708 unless there is a breakage later after the fix went in.
On my testings, the message and recipients did not show on the simulator for some reason, then dialog closed automatically. We now check if you're running on an iOS 8 simulator and if so we don't show the dialog. We log a warning message instead. When I tested on the real device, everything worked as expected. Are you seeing anything different?
Edit
I tested this a week before this comment was written.[~penrique]-- for me right now on both simulator & real device the email dialog does not come up.
I just tried this in KS, worked for me. Investigating
Guys, its user error. My bad it skipped my mind that in IOS u need to sign in to your email account for the email dialog to show up. I signed in & now the email dialog comes up as expected. Closing.