Wifi Direct functionality had not been supported due to the technical changes in the Android OS. So we had no choice but to replace the existing method with the way of using the Nearby API of Google to reorganize the function. Therefore, you have to access the location permission if you want to transfer via Wifi Direct. Also, Bluetooth or GPS may be turned on to find and identify peripherals devices, so it may request Bluetooth or GPS permissions.