How to Disable Device Location Request in WSO2 IOT Server
Sep 7, 2018 · 1 min read
Hi Friends,
By following the below steps you can disable device location request in wso2 IOT Server
For Android
1. Open android.xml file resides in <IOT_HOME>/repository/deployment/server/devicetypes folder.
2. Search and comment the following lines and Save.
<TaskConfiguration>
<Enable>true</Enable>
<Frequency>60000</Frequency>
<Operations>
--
<!--Operation>
<Name>DEVICE_LOCATION</Name>
<RecurrentTimes>1</RecurrentTimes>
</Operation-->
--
</Operations>
</TaskConfiguration><InitialOperationConfig>
--
<!--Operation>DEVICE_LOCATION</Operation-->
--
</InitialOperationConfig>
For ios
1. Open ios.xml file resides in <IOT_HOME>/repository/deployment/server/devicetypes folder.
2. Search and comment the following lines and Save.
<TaskConfiguration>
<Enable>true</Enable>
<Frequency>60000</Frequency>
<Operations>
--
<!--Operation>
<Name>DEVICE_LOCATION</Name>
<RecurrentTimes>1</RecurrentTimes>
</Operation-->
</Operations>
</TaskConfiguration><InitialOperationConfig>
---
<!--<Operation>DEVICE_LOCATION</Operation>-->
</InitialOperationConfig>