Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1765] iOS: emailDialog fails to open on iOS 7.0.4 device

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNot Our Bug
Resolution Date2013-12-12T18:16:36.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsdev-invalidate, ios
ReporterStephen Feather
AssigneeEric Wieber
Created2013-12-10T20:16:36.000+0000
Updated2016-03-08T07:40:39.000+0000

Description

Expectation

That an emailDialog window will appear.

Reality

On an iphone 4 (mc677ll/a) running ios 7.0.4, nothing occurs. Code works on ios7 simulator. Code works on Android devices. Code works on ipad 3 running ios 7.0.2

Testcase

var mainWindow = Ti.UI.createWindow({backgroundColor: '#fff'});
var bigButton = Ti.UI.createButton({height: 150, width: 150, title: 'Button', backgroundColor: 'red'});

mainWindow.add(bigButton);

bigButton.addEventListener('click', function(){
    var emailDialog = Ti.UI.createEmailDialog();
		emailDialog.open();
});

mainWindow.open();

Comments

  1. Stephen Feather 2013-12-10

    shak, you can kill this one if you want. I'm thinking its more an ios bug. it didn't like a yahoo mail account. I put in a gmail account and it pops right up. Probably need to have the emailDialog.open() alert the user if there is no account setup as well, provided this hook exists in ios

JSON Source