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?
Android API: 34
Mapbox Navigation SDK version: com.mapbox.navigationcore:navigation:3.0.2
Steps to trigger behavior
- Start a new trip session
- 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.