This problem appeared only in android 10. I am using Nearby service for iBeacon. In my manifest I'm asking permission ACCESS_FINE_LOCATION and before start nearby service I check if my app has this permission been granted. So why i have this error and how should I properly ask permission to use nearby service? Also i don't like description in asking permission dialog. My app don't use microphone. It frightens users!
Nearby.getMessagesClient(this, new MessagesOptions.Builder()
.setPermissions(NearbyPermissions.BLE)
.build())
.subscribe(getNearbyPendingIntent(), options);