Notifications permission prompt with the wrong app name and icon. Notifications then work as expected, though, including using the correct icon. □ Observation: There seems to be a bug where the hosting Web App appears as the app requesting the Notifications permission. Web apps on Mac support web push, badging, and all the usual web standards implemented by WebKit, just like web apps on iOS and iPadOS. Users can grant permission to a web app to use their camera, microphone and location in the same way they grant such permissions to other Mac apps through system prompts and the Privacy & Security section of System Settings. Web apps work with AutoFill credentials from iCloud Keychain and from third-party apps that have adopted the Credential Provider Extension API. Web apps can be opened from the Dock, Launchpad, and Spotlight Search.Īll web apps have an About dialog. Like all Mac apps, web apps work great with Stage Manager, Mission Control, and keyboard shortcuts like Command + Tab. Web apps on Mac let you focus on the websites you use all the time, separate from the rest of your browsing. Prompt inviting the user to Open in web app. If a user navigates to an already installed app in Safari, a prompt is displayed that invites the user to Open in web app. Links opened via window.open() will always open in the web app. A notable exception are OAuth flow links, which are handled in-app based on a heuristic. □ Observation: Same-origin (or in- scope if a manifest exists) links are handled in-app, cross-origin (or out-of- scope if a manifest exists) links open in the default browser. □ Observation: Extensions don't run and likewise aren't displayed. Instead, you debug apps via Safari's Develop > $machineName > $appName menu item (thanks, If all app windows are closed but the app isn't quit, a potential service worker will be inspectable until it gets terminated after a couple of seconds. □ Observation: Web Inspector (DevTools) works a little differently than, for example, in Chrome: even with the Show features for web developers checkbox in Safari checked, there's no Develop menu item nor can you right-click and Inspect Element in a web app. After a user adds a web app to the Dock, no other website data is shared, which is great for privacy". Safari does not copy over any other kind of local storage. This will only work if the authentication state is stored within cookies. That way, if someone is logged into their account in Safari, they will remain logged in within the web app. "When a user adds a website to their Dock, Safari will copy the website's cookies to the web app. No other storage means apart from cookies are copied. □ Observation: Different from iOS/iPadOS, credentials in cookies are copied over, so if you were logged in when running in the tab, you're logged in when you launch the app. If an app is well made, lay persons probably wouldn't be able to tell that something is a web app. For apps with a manifest, there's no Safari UI whatsoever, and the expectation is that such apps are single-page apps that provide their own navigation controls. Nowhere does it give away that this is a web app. The out-of-the box launch experience of web apps is fantastic. When right-clicking the Dock icon, you can uncheck Keep in Dock and still launch the app via Launchpad, Spotlight Search, or even just by double-clicking the app icon in ~/Applications/. □ Observation: Unlike on Chrome, the app doesn't launch immediately and "morph" from in-tab to in-app, but instead you remain on the tab and need to launch the app manually. Closing all windows of an app leaves the app running, aligned with macOS UX paradigms. Maskable icons are supported, and the typical macOS squircle shape is respected. The web app icon then appears in your Dock. □ Observation: Unlike on iOS/iPadOS, you can't add the same app twice, unless you rename it.Īpp name and icon are adjustable, the URL is not. For pages without an icon, Safari will create a fallback icon based on the first letter of the page's title. The URL is the URL you're on for pages without a manifest, or the start_url for pages with a manifest. You can adjust the name and icon if desired. Go to the Share icon and click Add to Dock, or use the menu item File > Add to Dock. On macOS Sonoma, you can add a website-any website, not just apps with a manifest-to your Dock. It probably doesn't matter, but the testing device was a 13-inch, M1, 2020 MacBook Pro. They're highly integrated in the overall macOS experience and don't give away their web roots by not showing any Safari UI at all. With macOS Sonoma, Apple goes all-in on the concept of installable web apps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |