<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Is it possible to determine if location is mocked? in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/is-it-possible-to-determine-if-location-is-mocked/m-p/1106791#M5623</link>
    <description>&lt;P&gt;Dear colleagues,&lt;/P&gt;&lt;P&gt;I have quite a big issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I use ESRI's LocationDisplay module to get user locations and it seems there is no way to determine if a location is mocked one! I have a big requirement to disallow mocked locations...&lt;/P&gt;&lt;P&gt;Am I right that LocationDisplay module can't tell me if a location is mocked one? Or did I miss something?&lt;/P&gt;&lt;P&gt;If I have a need to filter out mocked locations, should I use native Android GPS methods to get GPS coordinates and abandon ESRI's LocationDisplay?&lt;/P&gt;&lt;P&gt;Any tips maybe? Help would be much appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Oct 2021 18:09:31 GMT</pubDate>
    <dc:creator>DenisRomanovas</dc:creator>
    <dc:date>2021-10-12T18:09:31Z</dc:date>
    <item>
      <title>Is it possible to determine if location is mocked?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/is-it-possible-to-determine-if-location-is-mocked/m-p/1106791#M5623</link>
      <description>&lt;P&gt;Dear colleagues,&lt;/P&gt;&lt;P&gt;I have quite a big issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I use ESRI's LocationDisplay module to get user locations and it seems there is no way to determine if a location is mocked one! I have a big requirement to disallow mocked locations...&lt;/P&gt;&lt;P&gt;Am I right that LocationDisplay module can't tell me if a location is mocked one? Or did I miss something?&lt;/P&gt;&lt;P&gt;If I have a need to filter out mocked locations, should I use native Android GPS methods to get GPS coordinates and abandon ESRI's LocationDisplay?&lt;/P&gt;&lt;P&gt;Any tips maybe? Help would be much appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 18:09:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/is-it-possible-to-determine-if-location-is-mocked/m-p/1106791#M5623</guid>
      <dc:creator>DenisRomanovas</dc:creator>
      <dc:date>2021-10-12T18:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to determine if location is mocked?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/is-it-possible-to-determine-if-location-is-mocked/m-p/1106887#M5624</link>
      <description>&lt;P&gt;Yes, the LocationDisplay itself cannot detect if a location is mocked or not. What do you mean to use "&lt;SPAN&gt;native Android GPS methods to get GPS coordinates"? The location display is responsible for displaying a location on the map view, the location data source is the location provider, which is open to extend and wrap any location service, it is also a place to filter out some locations to feed the location display.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 22:46:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/is-it-possible-to-determine-if-location-is-mocked/m-p/1106887#M5624</guid>
      <dc:creator>ChanganShi1</dc:creator>
      <dc:date>2021-10-12T22:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to determine if location is mocked?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/is-it-possible-to-determine-if-location-is-mocked/m-p/1106940#M5626</link>
      <description>&lt;P&gt;Thank you for reply! Sounds quite promising if I get it right.&lt;/P&gt;&lt;P&gt;I meant using something like&amp;nbsp;com.google.android.gms.location.FusedLocationProviderClient.&lt;/P&gt;&lt;P&gt;So basically it's quite possible to use something like&amp;nbsp;com.google.android.gms.location.FusedLocationProviderClient as LocationDisplay's location data source, right?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 05:19:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/is-it-possible-to-determine-if-location-is-mocked/m-p/1106940#M5626</guid>
      <dc:creator>DenisRomanovas</dc:creator>
      <dc:date>2021-10-13T05:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to determine if location is mocked?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/is-it-possible-to-determine-if-location-is-mocked/m-p/1107098#M5627</link>
      <description>&lt;P&gt;Yes, you could extend LocationDataSource by wrapping the FusedLocationProvider, set the new location data source to the location display. By default, the location display uses the&amp;nbsp; `AndroidLocationDataSource` which wraps the Android LocationManager.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 15:21:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/is-it-possible-to-determine-if-location-is-mocked/m-p/1107098#M5627</guid>
      <dc:creator>ChanganShi1</dc:creator>
      <dc:date>2021-10-13T15:21:35Z</dc:date>
    </item>
  </channel>
</rss>

