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.
Bluetooth scanning not working for app in work profileSolved
Tags
Replies (8)
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?
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.
Is the app running on samsungknoxapis. Then it would explain why it works on both personal and work profile.
No, the app is not running on samsungapi.
Maybe other manufactures other than samsung would not have implemented the bluetooth discovery function for the work profile?
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.
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.
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.
-
Expand