BDK native (GPS tracking)

I have created a native Android app wrapper using BDK native. I’m trying to access the geo position of my device, but no matter what I do, for some reason I either don’t get an alert with an access request, or the alert appears. Still, the geo position is returned with accuracy only to the city. Thus, such workflow actions as “Ask permission (user location)”, “BN Toggle GPS”, and “Get GPS location” just don’t work, no matter how many times I clean cookies or reinstall the app. What else could be the reason? I appreciate any help you can provide.

It could be something quirky with BDK native workflows so try looking at your logs to see if actions like “Ask permission” or “Get GPS location” are actually firing off correctly. And hey, if nothing’s working, test it on a real device (not just the emulator) to rule out any weird mock data issues.

Yes, indeed, workflow actions “Ask permission” and/or “Get GPS location” have never shown up in the logs for the last few days. But I have followed BDK native documentation everywhere, and Google Maps API keys are specified correctly. And the funny thing is that the access request only fails in the case of geolocation. As for other native functions like camera, microphone, etc, everything works correctly there.

Could you make sure your app is actually requesting ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION at runtime, even if they’re in the manifest?

No, those functions aren’t requested at all. As I see it, that’s an issue on the BDK side, and waiting for a response from their support is a pain