Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-17708

iOS8: Email dialog does not recognize message and recipients

    Details

    • Story Points:
      2
    • Sprint:
      2014 Sprint 19 SDK

      Description

      I did use the search and did not find an issue already so I hope it is not a duplicate.

      Running the following code on iOS 8 you will notice that the message and the recipient(s) are not set in the email dialog.

      var win = Ti.UI.createWindow({
          backgroundColor: '#ccc'
      });
       
      var btn = Ti.UI.createButton({
          title: 'mail'
      });
       
      win.add(btn);
      btn.addEventListener('click', function () {
              
          var emailDialog = Ti.UI.createEmailDialog();
          emailDialog.setSubject("My Subject");
          emailDialog.setToRecipients(['email@example.com']);
          emailDialog.setBarColor('#CCCCCC');
          emailDialog.setMessageBody('Message');
          emailDialog.open();
       
      });
      win.open();
      

      The dialog also seems to close automatically after a while but not sure whether it is related to this:

      viewServiceDidTerminateWithError: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "The operation couldn’t be completed. (_UIViewServiceInterfaceErrorDomain error 3.)" UserInfo=0x7b65c7c0 Message=Service Connection Interrupted
       
      <MFMailComposeRemoteViewController: 0x7ba94400> timed out waiting for fence barrier from com.apple.MailCompositionService
      

      Environment:

      • Titanium Command-Line Interface, CLI version 3.4.0-rc2, Titanium SDK version 3.4.0.v20140911135715
      • Xcode 6
      • Titanium Studio, build: 3.4.0.201409121841
      • Alloy 1.5.0 rc
      • iPhone 6 Plus simulator but also others are affected

        Attachments

          Activity

            People

            • Assignee:
              penrique Pedro Enrique (Inactive)
              Reporter:
              jicks83 Jick Steen
              Reviewer:
              Vishal Duggal (Inactive)
              Tester:
              Olga Romero
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-19217
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration