3 ms·
No need to return randomly-generated contacts; just hand the app an empty contact database. Likewise, tell the app that you just don't have a location fix. Fo
by JoshTriplett 11y ago
No need to return randomly-generated contacts; just hand the app an empty contact database. Likewise, tell the app that you just don't have a location fix.
For requesting to send an SMS, tell the app that there was a failure to send the SMS (for reasons unrelated to permissions). Act as though you have no signal.
- wlesieutre 11y agoI wouldn't be surprised to see apps choke up and crash with an empty contacts database. It goes to inspect your contacts, tries to read the first one alphabetically, and fails to handle "There is no first contact." It shouldn't happen, but you could say the same about any untested edge-case bug.
- cmdrfred 11y agoI concur, maybe give the user an option?