Merge branch 'master' into 'master'

Fix iOS app download path

See merge request entgra/carbon-device-mgt!716
4.x.x
Inosh Perara 4 years ago
commit 8278f8c011

@ -3509,7 +3509,9 @@ public class ApplicationManagerImpl implements ApplicationManager {
throw new NotFoundException(msg);
}
ApplicationReleaseDTO applicationReleaseDTO = applicationDTO.getApplicationReleaseDTOs().get(0);
String artifactDownloadURL = APIUtil.getArtifactDownloadBaseURL() + applicationReleaseDTO.getUuid()
String artifactDownloadURL = APIUtil.getArtifactDownloadBaseURL()
+ tenantId + Constants.FORWARD_SLASH + applicationReleaseDTO.getUuid()
+ Constants.FORWARD_SLASH + Constants.APP_ARTIFACT + Constants.FORWARD_SLASH +
applicationReleaseDTO.getInstallerName();
String plistContent = "<!DOCTYPE plist PUBLIC "-//Apple//DTDPLIST1.0//EN" "" +

Loading…
Cancel
Save