I have developed an application for macOS. When I install it and open it for the first time on Big Sur, it shows a pop-up:
app-name Notifications
Notifications may include alerts, sounds and icon badges
The user can close this pop-up or choose between Allow and Don't Allow.
This pop-up is very confusing for users as the application doesn't produce any notifications. This pop-up does not appear on Catalina. How can I stop it appearing on Big Sur? I have tried setting NSUserNotificationAlertStyle to none in Info.plist but this hasn't made any difference.
Post
Replies
Boosts
Views
Activity
I have two applications (MinimServer and MinimWatch) that run on macOS. Both use the local network.
On Sequoia, starting MinimWatch for the very first time after installing Sequoia shows a prompt for permission to access the local network. If the user agrees, an enabled entry for MinimWatch appears in the Privacy & Security > Local Network section as expected.
If MinimServer is then started for the very first time, there is no prompt and the existing Local Network entry for MinimWatch now controls local network access for both MinimWatch and MinimServer.
If ths above order is reversed (start MinimServer first after installing Sequoia and then start MinimWatch), Local Network shows a single entry for MinimServer which controls network access for both MinimServer and MinimWatch.
It appears there is a false positive match when the second application is started. Sequoia finds the Local Network entry for the first application and incorrectly idenfies this as matching the second application.
Both applications are written in Java and have a similar internal structure. The app packages contain some identical files but the following files are different:
The bundle executable in the MacOS folder
Other executables in the MacOS folder launched by the bundle executable
The Info.plist keys CFBundleName, CFBundleIdentifier, CFBundleExecutable, CFBundleIconFile and JVMMainJarName
What might be the similarity between these app packages that is causing Sequoia to incorrectly identify one of these applications as being the other application?
My application needs local network access. When it is started for the first time, the user gets a prompt to enable local network access (as expected). The application is then shown as enabled in Privacy & Security / Local Network and local network access is working.
If macOS is then shutdown and restarted, local network access is blocked for the application even though it is still shown as enabled in Privacy & Security / Local Network. Local network access can be restored either by toggling permission off and on in Privacy & Security / Local Network or by disabling and enabling Wi-Fi.
This behaviour is consistent on Sequoia 15.1. It happens sometimes on 15.0 and 15.0.1 but not every time. Is my application doing something wrong or is this a Sequoia issue? If it is a Sequoia issue, is there some change I can make to my application to work around it?