Hello, We are working on a Garmin application that we are fetching. Fit file in our edge device by using the below method, but we are unable to start navigation, we have tried finding the solutions in Garmin documentation but have not been able to solve this issue.
//get navigation
function getNavigation(url as String){
var isUserLogged = Application.Storage.getValue("isUserLogged");
if(isUserLogged == true){
var params = {};
var options = {
: method => Communications.HTTP_REQUEST_METHOD_GET,
: responseType => Communications.HTTP_RESPONSE_CONTENT_TYPE_FIT
};
Communications.makeWebRequest((url), params, options, method(:onReceive) );
}
}