Hello,
since we should avoid the appearance of the permission popup at launch, we are planning to ask the user specifically at a later point in time.
If the user has given permission and launches next time, we can browse for Bonjour services at launch.
How can we check on launch if the user has given permission or whether we need to ask the user again?
since we should avoid the appearance of the permission popup at launch, we are planning to ask the user specifically at a later point in time.
If the user has given permission and launches next time, we can browse for Bonjour services at launch.
How can we check on launch if the user has given permission or whether we need to ask the user again?
Please see this related thread: https://developer.apple.com/forums/thread/650648
There isn't an API to do a pre-flight check for the permission status. For your use case, can you always have the Bonjour browse be based on some user action? Does it need to occur at launch?
There isn't an API to do a pre-flight check for the permission status. For your use case, can you always have the Bonjour browse be based on some user action? Does it need to occur at launch?