[AC-236] Android EmailDialog result needs not always be set to sent
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Needs more info |
Resolution Date | 2015-11-05T11:41:17.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Andrew McElroy |
Assignee | Mostafizur Rahman |
Created | 2015-07-16T21:54:48.000+0000 |
Updated | 2017-04-06T11:49:54.000+0000 |
Description
http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.EmailDialog-event-complete
On Android, this property will return SENT when the user discards or saves a message.
This is not feature parity with iOS which can do the following
This API can be assigned the following constants:
CANCELLED
FAILED
SAVED
SENT
Please make the Android API have feature parity with iOS. Thanks
[~sophrinix] can you please attach a test case?
Hello Could you please attach a runnable test case, steps to reproduce this issue and your working environment details? Thanks.
Problem still exists. There is even a comment in the source code at: https://github.com/appcelerator/titanium_mobile/blob/a8aceeaeee02ed9c8ea70c835a0e78960e254a55/android/modules/ui/src/java/ti/modules/titanium/ui/EmailDialogProxy.java#L161 Demo (from the documentation + event)
If you press cancel/on the grey area when you see the "select email program" it will still show a "send" in the complete event