I have a IOS application using Runtime SDK 100.10. This is a typical navigation with rerouting. I have sample code working with a simulated location data source. Where I created 2 routes, my intended route and my simulated route. I can traverse along the simulated route and when it diverges from the intended route I get a reroute event and a new route is displayed to the intended destination (great) re-routing works.
The issue is how do I move to production? When I comment out my simulation code and enable my production code and do an actual driving test. I get my initial route, then as I drive everything is good. But when I go off route I DON'T get a reroute completed event. Looking at our ARCGIS server logs I see route request coming in after my first successful route. The subsequent route request don't have any stops in the route parameters. So the routing services is not returning a new route or error my GPS continues to track my location and the app continues to send route request to the server because the routetracker knows I'm off route.
// MARK: For production use system location data source
let routeTrackerLocationDataSource = AGSRouteTrackerLocationDataSource(routeTracker: routeTracker)
// Set location display data source.
mapView.locationDisplay.dataSource = routeTrackerLocationDataSource