heremaps / here-android-sdk-examples

Java-based projects using the HERE SDK for Android.
Apache License 2.0
146 stars 191 forks source link

Fetching logs of Here Maps network interactions #465

Closed Strikelon closed 3 years ago

Strikelon commented 3 years ago

Hello! Could you advice, please?

Sometimes when QA tests our app, where we use Here Maps, maps are not downloaded from network or navigation is not worked. I think it may depend on the network settings of QA's environment, but I have no real evidences. Are there any tools provided by Here which allow to get internal logs of Here Map while interacting with network during Map showing, Navigation and so on? (Results, errors, reasons)

Thank you!

NazarKacharaba commented 3 years ago

Hi @Strikelon,

I think you can achieve this either by using the Android Studio Network Profiler or custom proxy server with the help of ApplicationContext.setNetworkProxy(NetworkProxy) API. SDK 3.X does not provide a network interceptor for internal HTTP requests.