[英]WSO2 EMM - Application blacklist not working
I set policy to android devices on EMM, but as you can see in the picture it didn't show in device detail policy. 我将策略设置为EMM上的android设备,但是正如您在图片中看到的那样,它未显示在设备详细信息策略中。
here is the policy info: 以下是政策信息:
Compliance Monitoring Type: warning
mobile application blacklist:
com.instagram.android
jp.naver.line.android
as you can see in application list Line is already installed on device but notting show in policy and report. 如您在应用程序列表中看到的那样,该行已安装在设备上,但未在策略和报告中显示。
How can I fix this issue? 如何解决此问题?
More info: 更多信息:
wso2-emm version 1.1.0 wso2-emm版本1.1.0
server: win 7 服务器:赢7
device: galaxy note 10.1 设备:银河笔记10.1
Edit 1: 编辑1:
By replacing repository/deployment/server/jaggeryapps/emm in my pack with apps/emm folder downloaded from github . 通过使用从github下载的apps / emm文件夹替换我的包中的repository / deployment / server / jaggeryapps / emm。 warning message shown on device but status in report tab under Device Compliance Monitoring report didn't updated. 警告消息显示在设备上,但“设备合规性监视”报告下“报告”选项卡中的状态未更新。 but when I click on device it show it. 但是当我单击设备时,它会显示出来。
also in device info page application list, device and location didn't show. 在设备信息页面的应用程序列表中,也没有显示设备和位置。
here is the wso2carbon log. 这是wso2carbon日志。
how can I fix this? 我怎样才能解决这个问题?
Finally I find the problem by checking differences in emm directory before and after changing it using Araxis Merge
. 最后,我通过使用Araxis Merge
更改emm目录前后的差异来发现问题。
The problem was in line 231 emm\\modules\\notification.js, which is 问题出在231行emm \\ modules \\ notification.js中,这是
var result = driver.query(sqlscripts.notifications.select21,
ctx.deviceid, ctx.operation);
as there is no sql query with the name select21
under notifications query in sqlscripts\\db.js and in previous version it was select10
, so I change it and now things work fine :) 因为在sqlscripts \\ db.js的通知查询下没有名称为select21
sql查询,而在以前的版本中它是select10
,所以我对其进行了更改,现在一切正常:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.