Post

Replies

Boosts

Views

Activity

Reply to iOS 26 - Identify network switch
What I’ve Done: Previously, I registered the application as a HotspotHelper using NEHotspotHelper.register(options:queue:handler:). 
In the Hotspot Helper app’s command handler block, I identified the relevant network via the NEHotspotHelperCommand and used the didJustJoin API to determine if the network was joined. For migrating this to Xcode 26 , I added a NEHotspotEvaluationProvider extension. I implemented the handleCommand method which receives NEHotspotHelperCmmand parameter. Similarly, I added code to identify the network via the NEHotspotHelperCommand and used didJustJoin to check whether the network was joined. The Issue: While running on Xcode 26/iOS 18, the handleCommand method in my NEHotspotEvaluationProvider extension is not being triggered when switching between networks. I suspect this might be due to incomplete or incorrect configuration for NEHotspotManager in the main app, or missing setup steps for the new extension. My Question: What exact configuration steps are required in the main app project and Info.plist/entitlements to ensure NEHotspotEvaluationProvider gets called? Are there any new keys, capabilities, or background modes required specifically for this new extension type? Does the app need to trigger NEHotspot configuration or registration APIs at launch or on demand to activate the extension?
2w