If an app needs to connect to a Wi-Fi AP on the appliance, you have to allow location since having access to the Wi-Fi scan of networks that are in range can allow for some coarse geolocation, thanks to open source SSID databases [1]. I wish Android and iOS would add functionality that allowed an app to connect to a known SSID without access to the scan because the permission requirement is rightly off-putting.