{"id":9770,"date":"2014-10-09T15:49:10","date_gmt":"2014-10-09T19:49:10","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=9770"},"modified":"2014-10-09T15:49:10","modified_gmt":"2014-10-09T19:49:10","slug":"ios-8-location-permissions-and-notifications","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2014\/10\/09\/ios-8-location-permissions-and-notifications\/","title":{"rendered":"iOS 8 Location Permissions and Notifications"},"content":{"rendered":"<p><a href=\"http:\/\/minutestomidnight.net\/blog\/2014\/10\/quibbling-with-ios-8s-location-permissions\">Tim Schmitz<\/a>:<\/p>\n<blockquote cite=\"http:\/\/minutestomidnight.net\/blog\/2014\/10\/quibbling-with-ios-8s-location-permissions\"><p>Apps can only ask for one level of access, and can only ask once. Developers have to choose how much access to request. Once you&rsquo;ve asked for &ldquo;when in use&rdquo; authorization, for example, you can&rsquo;t ask again for &ldquo;always&rdquo; permissions. You also can&rsquo;t display a dialog asking the user to choose between &ldquo;Always,&rdquo; &ldquo;When in use,&rdquo; or &ldquo;Never.&rdquo;<\/p><p>[&#8230;]<\/p><p>Apple&rsquo;s solution to this problem is to let developers send users to the Settings app so that they can change the location permissions for your app. This feels like a classic &ldquo;<a href=\"https:\/\/www.youtube.com\/watch?v=vKKISOnOCaw\">sweet solution<\/a>.&rdquo; It&rsquo;s not a good experience to boot users out into the Settings app, even if it&rsquo;s directly to the settings for your app&rsquo;s location permissions. It breaks the user out of your UI, and there&rsquo;s no obvious way to get back to your app after they&rsquo;ve changed settings.<\/p><\/blockquote>\n<p><a href=\"http:\/\/www.jongales.com\/blog\/2014\/10\/01\/ios-8-google-maps-is-using-your-location\/\">John Gales<\/a>:<\/p>\n<blockquote cite=\"http:\/\/www.jongales.com\/blog\/2014\/10\/01\/ios-8-google-maps-is-using-your-location\/\"><p>By far the most annoying change is a giant blue banner on the top of the screen when an app is using your location in the background. This banner can&rsquo;t be dismissed and there isn&rsquo;t a setting to have it not show. This sounds OK on paper (we want to prevent apps from tracking you without your knowledge), but in practice is insane. I know perfectly well that Google Maps is using my location, if it were not using my location I would be very interested as I will get lost as a result. It&rsquo;s fine if you want to let me know this, but please give me a way to dismiss it.<\/p>\n<p>[&#8230;]<\/p>\n<p>The final sin is that this turd also appears when you&rsquo;re not actually using another app at the same time as navigating. Simply closing Google Maps is enough to have the blue banner show up for about half a second. Even if you hadn&rsquo;t navigated anywhere. This flash is enough to infuriate me.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Tim Schmitz: Apps can only ask for one level of access, and can only ask once. Developers have to choose how much access to request. Once you&rsquo;ve asked for &ldquo;when in use&rdquo; authorization, for example, you can&rsquo;t ask again for &ldquo;always&rdquo; permissions. You also can&rsquo;t display a dialog asking the user to choose between &ldquo;Always,&rdquo; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[432,31,904,355],"class_list":["post-9770","post","type-post","status-publish","format-standard","hentry","category-technology","tag-gps","tag-ios","tag-ios-8","tag-privacy"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9770","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=9770"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9770\/revisions"}],"predecessor-version":[{"id":9771,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9770\/revisions\/9771"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=9770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=9770"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=9770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}