Bluetooth scanning not working for app in work profileSolved

Participant
Discussion
2 years ago

Hi guys. We have installed a few apps on our employee devices through hexnode. One app uses bluetooth to find nearby devices. Using the app from the work profile doesn’t initiate the bluetooth scan. But the app works perfectly from the personal profile, the device scan is not affected. Does anyone know why this is caused.

Replies (8)

Marked SolutionPending Review
Participant
2 years ago
Marked SolutionPending Review

I experienced the same problem when using the Bluetooth Finder BLE scanner app on my oneplpus device. The device scanning runs on the personal app but the work app doesn’t start the device scan. Is this a problem associated with hexnode?

Marked SolutionPending Review
Participant
2 years ago
Marked SolutionPending Review

I tried using an app made by a partner with thebluetooth discovery option on a knox device, I was able to activate the bluetooth discovery on both the personal and work profile. But I faced the same problem when I ran the app on a non knox device.

Marked SolutionPending Review
Participant
2 years ago
Marked SolutionPending Review

Is the app running on samsungknoxapis. Then it would explain why it works on both personal and work profile.

Marked SolutionPending Review
Participant
2 years ago
Marked SolutionPending Review

No, the app is not running on samsungapi.

Marked SolutionPending Review
Participant
2 years ago
Marked SolutionPending Review

Maybe other manufactures other than samsung would not have implemented the bluetooth discovery function for the work profile?

Marked SolutionPending Review
Participant
2 years ago
Marked SolutionPending Review

This can be a bug seen on Android devices while using the Bluetooth feature to discover nearby devices. Apps using BluetoothAdapter.startDiscovery() method to initiate the Bluetooth discovery can face this problem. For example, apps running in the personal profile can successfully initiate Bluetooth discovery, but their respective work apps can’t. This is the result of the difference in UID of the startDiscovery() method used in the personal and work profile. Use the link for reference https://issuetracker.google.com/issues/138670165.

@Amber Probably not. As mentioned, this should be a problem that is caused by the Android OS.

Marked SolutionPending Review
Participant
2 years ago
Marked SolutionPending Review

Thanks for pointing out the problem wiliam. Is there any ETA on when android will fix the issue or any workaround for the problem. Because we have deployed the app to bulk users and we are waiting for the fix to run the app.

Marked SolutionPending Review
Participant
2 years ago
Marked SolutionPending Review

You can try raising the issue with google to get an ETA on the fix for the issue. Im not aware of any workaround for the problem.