Is it possible to automatically allow Nearby Devices permission, or ask the user to allow it upon app start? Currently, every time I reinstall the app, I have to manually enable it in the phone's settings.
CodePudding user response:
According to the documentation, you should ask permission for every new install. https://developer.android.com/guide/topics/connectivity/wifi-permissions
CodePudding user response:
According to this doc your problem will be solved. https://developer.android.com/guide/topics/connectivity/bluetooth/permissions