mapbox-navigation-android icon indicating copy to clipboard operation
mapbox-navigation-android copied to clipboard

Get instruction image from onNewBannerInstructions listener

Open fawzirifai opened this issue 1 year ago • 0 comments

I am listening to onNewBannerInstructions to show the instruction text and image on our custom view, without using any of Mapbox UIs. When onNewBannerInstructions is called, I check the components of the primary instruction and the image URL is null. How can I get the image for the instruction?

Screenshot 2024-07-02 at 7 52 25 AM

Android API: 34 Mapbox Navigation SDK version: com.mapbox.navigationcore:navigation:3.0.2

Steps to trigger behavior

  1. Start a new trip session
  2. register banner instructions observer

Expected behavior

We should be able to extract and use the instruction image from Mapbox Navigation SDK.

Actual behavior

We are unable to extract and use the instruction image from Mapbox Navigation SDK.

fawzirifai avatar Jul 02 '24 05:07 fawzirifai