Can’t enforce safari as default browser

I would like to know on a mdm managed supervised device, how to force use Safari if a user has non-safari browser set as default.

can enforcing safari for a domain or web clip be done?

even shortcuts now, when using safari it opens whatever is set as default browser. Ironically if same simple shortcut of open URL with Chrome is created it opens with Chrome, regardless if default browser is set to firefox for example

this default browser setting is great for personal use but cause issues now for corporate use for me

anybody else figure this out? Also affects certificates for our managed devices

Replies

The Web Clip configuration profile payload includes a TargetApplicationBundleIdentifier key. This key overrides the current default web browser when opening that web clip and instead uses the specified browser. Does setting that key to Safari's bundle ID com.apple.mobilesafari solve your problem?

We have tried to solve a similar use case with adding TargetApplicationBundleIdentifier = com.apple.mobilesafari to force to open a Web Clip in Safari, but it does not work. We can force to open a Web Clip in Edge (TargetApplicationBundleIdentifier = com.microsoft.msedge) or Chrome (TargetApplicationBundleIdentifier = com.google.chrome.ios) regardless of the set default web browser, but it never works with TargetApplicationBundleIdentifier = com.apple.mobilesafari - In this case the Web Clip still opens in the set default web browser. Maybe this is a bug, or com.apple.mobilesafari is the wrong Bundle Identifier for Safari for iOS? (Test environment: Ivanti Endpoint Manager Mobile v 11.10, iOS devices iOS 16.6)