Page 1 of 1

Android crashes when connecting to Device [solved - turn on GPS]

Posted: December 23rd, 2018, 2:30 pm
by mbofotografie
Since the new Update i am facing the Problem, that my HTC U11 (Android 8.0) crashes when i connect to the unleashed adapter.

The behavior is always the same:
Open the Unleashed ap and everything is fine.
Plug in the adapter to the Camera and then try to connect in the app...

The device is shown, but just in the moment the connection will be established the app crashes and then device stuck in a Cycle of poweroff and poweron the screen.
The only possibillity is to shutdown the mobile completly, or perform a reeboot.


I tried to set my device to factory defaults, but it does not fix the issue.
Then we tried the Phone of a friend and there it works perfect.

Technical Facts:
HTC - U11
Android 8.0
Settings are in factory default

Camera Nikon D800

Re: Android crashes when connecting to Device

Posted: January 28th, 2019, 1:40 am
by nworx
hi
I'm facing the exact same problem.
as soon as my android device tries to connect it ends up in a loop and i have to reboot my phone.

Android: HTC 10
Camera: Nikon D7200

Re: Android crashes when connecting to Device

Posted: January 30th, 2019, 4:42 pm
by Oliver
We answered mbofotografie via email, just in case anyone thought we don't care - we do!

That's very odd, and unfortunately if the phone crashes, we don't get any crashlogs, so it's also very difficult to debug.

We will try to get our hands on an HTC 10 or U11 to replicate the issue, it seems to have something to do with a low-level HTC Bluetooth driver or something similar...

@nworx: can you specify which android version you're running?

on other phones (Sony Z series) a bluetooth issue was fixed by resetting the network settings in Android - see if that helps!

Re: Android crashes when connecting to Device

Posted: May 21st, 2019, 4:31 pm
by Oliver
So we finally found the exact cause of the issue:

Oddly, Android requires location permission to search for Bluetooth devices the way we do - why they merged the permissions for this, we're unsure - probably because some Bluetooth beacons can be used to calculate a position, and this type of scanning therefore can enable determining a location, even though it usually doesn't. It's certainly confusing for the Consumer!

However, it seems that this did not just confuse Consumers, but even some manufacturers. They don't just require the location permission (which we request from the user in a pop-up in the app), but also require the location service to be turned on at the highest precision, ie GPS + Wifi + Cell tower positioning.

We will try to add a check for HTC, and ask the user to enable GPS as well as granting the permission to use location, so that this error should be gone entirely, and certainly won't crash the phone anymore. But until then, just turn on GPS, and you should be fine. This in only needed while searching for Unleasheds to pair. Once paired, you can turn it off again - reconnecting works without these permissions.