Fix unknown application type error when installing web apps #392

Merged
tcdlpds merged 2 commits from ashvini/device-mgt-core:Bug#10953 into master 5 months ago

@ -68,9 +68,7 @@ public class MDMAndroidOperationUtil {
WebApplication webApplication = new WebApplication();
webApplication.setUrl(application.getLocation());
webApplication.setName(application.getName());
// webApplication.setType(application.getType().toString());
// Hard-corded "type" to "webapp". Some agent versions accept only "webapp" as the type.
webApplication.setType("webapp");
webApplication.setType(application.getType().toString());
webApplication.setProperties(application.getProperties());
operation.setPayLoad(webApplication.toJSON());
break;

Loading…
Cancel
Save