• It’s election day here in Massachusetts. I am the clerk at a polling location in my city.

  • At the New Hampshire Fisher Cats game.

    E271F560-81A0-4885-A9D1-E647C0FBC146.jpg

  • Early voting FTW. E85ADF88-60BB-42EA-B498-B1E72F18673B.jpg

  • I released Unread 3.1 with a Subscribe in Unread share sheet extension.

  • My turn for COVID. I felt pretty sick this morning, but I feel ok right now.

  • From my back yard:

    5C049A7B-22EE-4C2C-9F7A-4F83363F19A9.jpg

  • Not sure how, but I misplaced a single AirPod. 🤦‍♂️

  • Autocorrect changed “wi-fi” to “wi-if”.

  • I just released Unread 3.0 with support for Unread Cloud. Unread Cloud is a new syncing and article retrieval system for Unread.

  • I have the best walking route.

    44D84FBA-6268-48CD-B599-7DF74A8958C9.jpg

  • Of his many transgressions, Mr. President, let’s not worry about he was drunk during his attempt to overthrow the government.

    www.axios.com/2022/06/1…

  • A 30-day walking streak.

    72FD92C7-1EDC-4B9B-A593-5DC9BE4767D0.jpg

  • Safari Views, Mail Compose Views, and Default App Settings

    iOS allows any app to present Safari Views and Mail Compose Views. These views are fantastic because they provide the functionality of Safari and Apple Mail without forcing the user to leave the app presenting them.

    Safari Views incorporate the user’s content blockers. Bookmarking a webpage from a Safari View adds that webpage to the user’s Safari bookmarks. Safari’s reader mode is available, and the app presenting the Safari View can indicate that the Safari View should be opened in reader mode by default.

    Mail Compose Views let the user send a message from any email account setup in Apple Mail. The app can specify an initial subject, list of recipients, and message content. The initial message content can either be plain text or HTML. The user then edits the message and sends it.

    iOS 14 added a Default Browser App setting and a Default Mail App setting. The system honors the settings when opening webpage URLs and mailto: URLs, but does not when presenting Safari Views and Mail Compose Views. Those views just incorporate functionality from Apple’s apps. When an app presents a Safari View or a Mail Compose View to a user with an alternative default app setting, it looks like a bug that prevented the default app setting from being honored.

    When presenting webpages, the result is that bookmarking a webpage adds the bookmark to Safari instead of the user’s browser of choice. Mechanisms to prevent tracking and to block obnoxious content that might be available in the user’s preferred browser are not available in the Safari view.

    For email the situation is worse. A user might not have Apple Mail setup with their accounts, or they might have it setup with their iCloud account but not their preferred email account. They might use a service like HEY that does not work with Apple Mail.

    An app can check MFMailComposeViewController.canSendMail() to determine whether the user is able to send a message from Apple Mail, but my customer interactions have led me to conclude that this is a weak indication of the user having their preferred account setup in Apple Mail. There is no way for an app to determine whether the Default Mail App setting on a device is set to Apple Mail or something else.

    This leaves app developers with these options:

    • Use mailto: links and accept their limitations: that you cannot specify default HTML content, that many email apps do not handle default plain text content with more than one line in mailto: URLs, and that the user gets bounced out of the app.
    • Use a Mail Compose View when MFMailComposeViewController.canSendMail() returns true, accepting that this will not let all customers send from their preferred account.
    • Add a setting.

    I tried to avoid adding a setting to Unread, but I ended up creating a Send Mail In setting. When set to Unread, it presents a Mail Compose View. When set to Default App, it tells iOS to open a mailto: URL.

    When using Unread’s mechanisms for contacting customer support while this setting is Default App, I cannot automatically incorporate information like the Unread version identifier into the outgoing message because multiline plain text content often does not work with mailto: URLs. I cannot honor this setting for Unread’s Mail Article functionality because there is no way to specify HTML content in a mailto: URL.

    Apps need the ability to create Mail Compose Views that honor the default email app setting. A third party email app should be able — perhaps required — to provide an extension with its implementation of Mail Compose View functionality. Similarly iOS needs a Browser View that honors the Default Browser App setting.

    Relevant Feedback Assistance reports:

    • FB10005791: Safari View Controller should honor default browser
    • FB9093370: MFMailComposeViewController and Default Email Apps

    Update: I removed FB9093357 from the list of relevant Feedback Assistant reports. It reported that mailto: URLs with multiline message bodies do not work in Apple Mail. That appears to be fixed in the current iOS 15.5 beta release.

  • I walked to my local post office around 1:30, only to find that my post office is closed between 1:00 and 2:00 for lunch. I cannot decide whether to find that annoying or adorable.

    “You get that? The whole store got the flu.”

  • Just posted a first beta of something I have been working on for some time. 🤞

  • I reconfigured my ssh configuration to use the new 1Password SSH Agent. It is working well for me so far. It does require the 1Password 8 beta.

  • I am helping someone look for a tutor to help a high school student taking a Python class. If you know Python well and would be interested, get in touch. The student’s family is willing to pay tutoring market rate.

  • I have been experimenting with the replication functionality in PostgreSQL in order to maintain warm backup database servers. I am pleasantly surprised at how straightforward it is to setup.

  • Irrationally excited to have KN95 respirators.

    84FC5D99-89DC-42F1-9106-E9C57B70C9D6.jpg

  • Anecdotally, in my area of Massachusetts I see about 50% of folks wearing masks inside stores.

    I spent some time in New York City early last week, and was heartened to see most individuals — maybe 95% — wearing masks when walking outside.

    My N95 should arrive tomorrow.

  • New Home Office

    My home office tends to get cluttered. I have an annual tradition of thoroughly cleaning it on New Years Day.

    I am a day late this year, but I went a step further. I moved my office to an entirely different room.

    I also setup a card table and chair as a place for video calls. When on video calls I do not use external displays or a laptop stand. I want to look straight into the MacBook Pro’s camera, so I use only the built-in display and put it directly in front of me. I now have a dedicated place to do so in my office where the room’s overhead light is in front of my face.

  • A start-of-year status update on Unread: Unread in 2021 and 2022

  • I’ve been quiet on micro.blog and on social media in general over the past few months. One of my resolutions for 2022 is to rectify that.

subscribe via RSS