<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nrf connect location services</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23996/nrf-connect-location-services</link><description>Why does the nrf connect app on Android need my location services enabled for it to work? I believe that is the case for most (or all) of the nrf apps in Android.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Aug 2017 14:44:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23996/nrf-connect-location-services" /><item><title>RE: nrf connect location services</title><link>https://devzone.nordicsemi.com/thread/94470?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2017 14:44:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b29179a-cbbc-41b8-b195-f4c9d3d77d74</guid><dc:creator>Roshan Rajaratnam</dc:creator><description>&lt;p&gt;@AF Android 6.0 introduced some &lt;a href="https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html"&gt;changes&lt;/a&gt; with a requirement to have  location permissions enabled, if not scanning for ble devices will not return any scan results, read BLE permissions section &lt;a href="https://developer.android.com/guide/topics/connectivity/bluetooth-le.html#terms"&gt;here&lt;/a&gt;. Also Android introduced run-time permissions where the user has to grant these permissions (permissions categorized as dangerous) during run-time where as older versions of android could simply declare these types of permissions that developers thought was necessary. That being said there are two types of permissions &lt;a href="https://developer.android.com/reference/android/Manifest.permission.html#ACCESS_COARSE_LOCATION"&gt;ACCESS_COARSE_LOCATION&lt;/a&gt; &amp;amp; &lt;a href="https://developer.android.com/reference/android/Manifest.permission.html#ACCESS_FINE_LOCATION"&gt;ACCESS_FINE_LOCATION&lt;/a&gt;. The first permission is for an approximate location and the latter is for a very precise location which is user sensitive. This is up to the developer to decide, but in all Nordic Applications we use ACCESS_COARSE_LOCATION permission as there is no need for us to obtain any user sensitive data. In addition to this location permissions, there is location services in android settings which also has to be enabled in order for the device to return the scan results and this is the &lt;a href="https://issuetracker.google.com/issues/37065090"&gt;intended behavior&lt;/a&gt; from an Android OS 6.0 point of view for all apps. However when enabling this location services, its up to the user to select High Accuracy, Battery saving or Device only modes as this is not important to Nordic Apps i.e. nRF Connect only redirects the users to the settings screen to enable location services and from there on-wards selecting the location services mode is simply a user preference. So in a nutshell there are two things needed ACCESS_COARSE_LOCATION/ACCESS_FINE_LOCATION (we request for only the minimalistic ACCESS_COARSE_LOCATION permission) and Location services to be enabled in order to return BLE scan results. Hope this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect location services</title><link>https://devzone.nordicsemi.com/thread/94469?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 23:17:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bdefbef-f2ce-4f72-a6e8-7a0e5a534e2d</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Nope, &lt;a href="https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp"&gt;nothing like &amp;quot;Precise location&amp;quot; permission listed on Play store for nRF Connect app&lt;/a&gt;, I&amp;#39;m afraid it&amp;#39;s some misunderstanding or malfunctioning. I&amp;#39;m sure Nordic support team will look at it tomorrow morning Europe time. Actually adding some screenshots with app permissions as visible in App manager on your phone might help (they claim Samsung Galaxy S6 being among their test devices so they might be able to reproduce it) as well as precise HW and OS identifications.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect location services</title><link>https://devzone.nordicsemi.com/thread/94468?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 23:07:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4183d6d9-f2cd-4c46-a9a0-2549b6fbddc8</guid><dc:creator>AF</dc:creator><description>&lt;p&gt;The location service it requires is not approximate location, it asks you to turn your GPS ON, and the location method is &amp;#39;High Accuracy&amp;#39; (verified on a S6 running Nougat). Also if you do not allow access to the  location services the app wont function.&lt;/p&gt;
&lt;p&gt;The TI simple link starter app does not asks for my location services.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect location services</title><link>https://devzone.nordicsemi.com/thread/94467?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 22:28:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fc59988-25f5-4611-b0cd-861651232c72</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Firstly Nordic nRF Connect app for Android doesn&amp;#39;t turn the location service itself (at least not on my Android 5.0.x phone) it only has &amp;quot;approximate location&amp;quot; privilege to be able to scan for BLE devices. Secondly if you are talking about Texas Instruments Simplelink SensorTag application for Android it requires exactly the same privilege.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect location services</title><link>https://devzone.nordicsemi.com/thread/94466?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 22:17:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1199002-aadb-4d1c-b17d-14f5185a675d</guid><dc:creator>AF</dc:creator><description>&lt;p&gt;What I want to know is why is the app tied up to the location service?? I have used the TI app and it does not ask me to enable my location service to work.&lt;/p&gt;
&lt;p&gt;Is nordic tracking my location??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf connect location services</title><link>https://devzone.nordicsemi.com/thread/94465?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 22:14:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a0284e1-5953-4d74-b0df-798cc8221b90</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Because both Android and iOS tight Bluetooth Low Energy API access with Location service access privilege. However confusing it is for end-users...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>