We have a Flutter app where we implemented the ConnectSDK with Objective-C platform code. On the iOS Simulator devices are detected but on a physical device we get: nehelper sent invalid result code [1] for Wi-Fi information request and no devices are detected.
We checked the following:
NSLocalNetworkUsageDescriptionis in the plist.Access Wi-Fi InformationEntitlement is enabled under Signing and Capabilities and on the Identifier.- Tried enabling
Network Extensions. - Tried requesting location access permission and setting
NSLocationAlwaysAndWhenInUseUsageDescription,NSLocationAlwaysUsageDescription,NSLocationWhenInUseUsageDescriptionin the plist. - The native popup to allow network access does not appear and using the
permission_handlerwe see that all permissions including Notifications and Location is set to permanently denied. Local Network Access is enabled in Settings.
Any advice will be greatly appreciated.