Fix unknown application type error when installing web apps

This commit is contained in:
ashvini 2024-05-09 07:43:39 +05:30
parent 62722718f2
commit 2169c6937a

View File

@ -70,7 +70,7 @@ public class MDMAndroidOperationUtil {
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("webapp");
webApplication.setProperties(application.getProperties());
operation.setPayLoad(webApplication.toJSON());
break;