I have issues when I want to draw paths. Following the tutorial just in the first line it asks me to do
RoadManager roadManager = new OSRMRoadManager(this, MY_USER_AGENT);
I have tried to convert all in Kotlin version so
val roadManager = OSRMRoadManager(requireContext(), ...)
but i don't know what I have to type in order to replace "MY_USER_AGENT"
I have tried
val roadManager = OSRMRoadManager(requireContext(), requireContext().packageName)
and
val roadManager = OSRMRoadManager(requireContext(), BuildConfig.APPLICATION_ID)
but in both cases the application crashes