No sign of Google maps navigation data or notifications #6380
Replies: 1 comment
-
Posted at 2023-11-03 by @gfwilliams
Do you get a notification on your phone's screen? As far as I can tell, the Google Maps app doesn't provide any API on Android, so Gadgetbridge has to find the notification from Google Maps and then pull the relevant info out of it. So if you don't see the Google Maps notification, maybe check your Google Maps settings to ensure you hadn't disabled notifications, or check the Android App settings to ensure it has the relevant permissions to show them? I know if you long-press on the notification on Android you get options to disable it - but I don't know quite how you go about re-enabling after that Posted at 2023-11-03 by user156906 Thanks for the reply The notification is showing up fine on my phone. I had the "you have arrived at your destination" notification sent thru to my bangle earlier, but still no sign of the navigation itself. It's puzzling. I'm running the current Google Play version of Bangle Gatget Bridge too. Posted at 2023-11-04 by user156906 A relevant snippet of the GadgetBridge log file Attachments: Posted at 2023-11-06 by @gfwilliams Please could you give me a screenshot of the notification when you're navigating? Because we have to parse the navigation info out of the notification we're expecting it to be a certain format - maybe something in your language settings means it's not the correct format and so we ignore it? Posted at 2023-11-06 by user156906 Here's a screenshot. I use Google Maps for public transport navigation mainly. Attachments: Posted at 2023-11-07 by @gfwilliams Thanks - but that's odd. What type of phone do you have? The icons and notification you have there are totally different to what I normally see. On the top line of the notification on my phone I see text like: Attachments: Posted at 2023-11-07 by user156906 Interesting, I get a notification just like yours for driving and walking navigation, but I get the one I posted specifically for public transport. That is likely the problem. For reference, my phone is a Google Pixel 4a running the standard version of Google maps and Gadgetbridge. Posted at 2023-11-07 by @gfwilliams Ahh, ok - maybe that's it then... I did try it in Public Transport mode but I think because I'm miles from any proper public transport here it assumed I was just walking anyway. So does it work if you try navigating in walking mode? Posted at 2023-11-08 by user156906 I just checked and it does in fact work for walking navigation, so I suppose that is the problem. I'm going to poke at the Gadgetbridge code and see if I can get it working, at least enough for my use case. Posted at 2023-11-08 by @gfwilliams Great! Well, at least some of it works. If you want to dig around in Gadgetbridge, this is what you'd need to be looking at: https://codeberg.org/Freeyourgadget/Gadgetbridge/src/branch/master/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/notifications/GoogleMapsNotificationHandler.java#L905 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2023-11-03 by user156906
I've been looking in to getting Google Maps navigation data on my phone, but I can't seem to get it to turn up. There are no notifications for it, despite other apps working, and I don't see any messages sent to the Gadgetbridge Debug app on the watch either.
In Gadgetbridge, I've double checked that Google Maps notifications are on, and that navigation is enabled, and both notifications and navigation are enabled when the screen is on.
Any ideas what I might be missing?
Beta Was this translation helpful? Give feedback.
All reactions