Hi!
I love the new native.showPopup feature for composing emails. However, while testing it on actual devices I ran into some trouble: On some devices, nothing happened when activating the email pop up.
Turns out, these devices did not have any email accounts added or activated in iOS - meaning, it had nothing to send the email from.
It would be good if there was some kind of fallback or just warning message in these cases, like illustrated here perhaps:
1 2 3 4 5 6 7 8 9 | local function fallbackFunction() print("No email accounts found!") end local options = { fallback = fallbackFunction } native.showPopup("mail", options) |
I apologize if this is the wrong forum for this, but I though it was a pretty crucial sub-feature to implement, to guarantee a smooth working feature. To my users, it looks like a bug that the "email"-button does nothing.
For the record I tested this on iphones and ipads with version 5.0.1.
Thanks
Please file a bug report/feature request. Some kind of 'canSupportEmail' API should have been provided at the get-go.