UWB Signal Direction in Background Mode between two Devices (iPhones)

Hey Folks,

I am a bit stuck on creating UWB session between two iPhones in background mode of the application. The UWB works fine on foreground mode of the application but it doesn't work in background. I get error of invalid configuration and while searching on stackoverflow I get the answer that the discovery tokens are invalid.

Can anyone please guide me if someone has done it in background mode.

Getting this error: Error: Error Domain=com.apple.NearbyInteraction Code=-5888 “NIERROR_INVALID_CONFIGURATION_DESCRIPTION” UserInfo={NSLocalizedRecoverySuggestion=NIERROR_INVALID_CONFIGURATION_RECOVERY_SUGGESTION, NSLocalizedDescription=NIERROR_INVALID_CONFIGURATION_DESCRIPTION, NSLocalizedFailureReason=NIERROR_INVALID_CONFIGURATION_FAILURE_REASON}

Have you enable the Nearby Interaction background mode in target mode settings?

Yes already enable the Nearby Interaction background mode #theo_k

UWB Signal Direction in Background Mode between two Devices (iPhones)
 
 
Q