graphhopper-navigation-example-legacy icon indicating copy to clipboard operation
graphhopper-navigation-example-legacy copied to clipboard

android 12 (31)

Open j0sem4rio opened this issue 2 years ago • 1 comments
trafficstars

I'm trying to update my application to Android SDK 31 but I'm having an issue with graphhopper Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.

I already tried to solve this problem with Override, but I couldn't.

j0sem4rio avatar Mar 17 '23 14:03 j0sem4rio

Yes, this is a known problem. Feel free if you want to open a PR for a fix. Otherwise you might be interested in having a look at https://github.com/maplibre/maplibre-navigation-android - we have fixed this bug a few months ago there.

boldtrn avatar Mar 17 '23 18:03 boldtrn