MFMessageComposeViewController.canSendText() returns true on iOS even when SIM card is removed and iMessage is disabled

Originator:sethfri
Number:rdar://FB8464138 Date Originated:08/19/2020
Status:Open Resolved:No
Product:iOS > Something else not on this list Product Version:
Classification:Incorrect/Unexpected Behavior Reproducible:
 
1. Disable iMessage
2. Pull the SIM card out of the device

Sending messages on this iPhone should now always fail; however, `MFMessageComposeViewController.canSendText()` still returns `true`. 

Expected behavior: If iMessage is disabled and there is no SIM card in the device, `MFMessageComposeViewController.canSendText()` should return `false` since messages will always fail.

Actual behavior: It returns `true`.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!