I just tested the latest release (5.5.7). If you deny access to Bluetooth and press the allow button, you'll see the "go to settings" alert. But if you press it again (without restarting the app), nothing happens. I think that this is due to the SPPermissionBluetoothHandler.shared singleton such that a second call to request:
Thanks for a great lib.
I just tested the latest release (5.5.7). If you deny access to Bluetooth and press the allow button, you'll see the "go to settings" alert. But if you press it again (without restarting the app), nothing happens. I think that this is due to the
SPPermissionBluetoothHandler.shared
singleton such that a second call torequest
:does nothing. My proposed fix for the original issue (https://github.com/ivanvorobei/SPPermissions/issues/202#issuecomment-831679464) seems to work properly in this respect, but there might be a better solution.