We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Permissions request doesn't popup on bluetooth start scanning
To Reproduce
class MainActivity : AppCompatActivity() { private val permissions = Permissions( PermissionsBuilder().apply { registerBluetoothPermission() } ) private val builder = BluetoothBuilder( permissions = permissions ) private val bluetooth = builder.create( connectionSettings = ConnectionSettings(), autoRequestPermission = true ) override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) } override fun onResume() { super.onResume() bluetooth.startScanning() } override fun onPause() { bluetooth.stopScanning() super.onPause() } }
Expected behavior Bluetooth permissions dialog should be shown
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Permissions request doesn't popup on bluetooth start scanning
To Reproduce
Expected behavior
Bluetooth permissions dialog should be shown
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: