Does the NearbyInteraction API in iOS 14 works with 2 different apps?

Hi

I want to work on a feature which can be used in a ride hailing app where the customer (using the customer app) and rider (using the rider app) can see how far they are from each other.
The potential is that these are 2 different apps with 2 different bundle ID’s. Is it possible to use this API for this use case?
Yes, it is possible to use NearbyInteraction across two different bundle IDs.

As long as the discoveryToken is shared between the two apps, i.e. via the developers cloud backend, then calling run(_:) on the NISession with an NINearbyPeerConfiguration instantiated with the discoveryToken from the other device will work regardless of the bundle ID of each application.
Does the NearbyInteraction API in iOS 14 works with 2 different apps?
 
 
Q