How to Disable Device Location Request in WSO2 IOT Server

Siluni Pathirana
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>

Siluni Pathirana

Written by

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade