Shop mode
The shop mode is a feature introduced in Neerby SDK 2.5 that allows the host app to know is currently in a known shop, using both Beacon and Virtual beacons to enhance detection.
B4SShop *currentShop = [[B4SSingleton sharedInstance] currentShop];
let currentShop = B4SSingleton.sharedInstance().currentShop
The method will either return nil, or a B4SShop instance. The name and clientRef properties are available.
The cost of calling this method is really low, so you can call it repeatedly when the application is in foreground.