{"id":5494,"date":"2021-09-23T06:10:03","date_gmt":"2021-09-23T06:10:03","guid":{"rendered":"https:\/\/www.folio3.com\/mobile\/?p=5494"},"modified":"2021-09-23T06:12:54","modified_gmt":"2021-09-23T06:12:54","slug":"handling-background-location-permissions-in-react-native","status":"publish","type":"post","link":"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/","title":{"rendered":"Handling Background Location Permissions in React Native"},"content":{"rendered":"\n<p>Location-based applications are widely used nowadays in mobile apps. You may want to get a user\u2019s location to show services around, get a sense of the user &#8216;s city or country or act based on the location updates of the user while moving (like Uber calculating the distance and trip fare). In this article, we are going to explain how you can handle background location permissions in react native for iOS 13 and above and Android 10 and above. We will use <a href=\"https:\/\/github.com\/zoontek\/react-native-permissions\"><em>react-native-permissions<\/em> <\/a>to check and request permission.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>iOS<\/strong><\/h3>\n\n\n\n<p>To make background location tracking more transparent, Apple has taken a couple of steps. This means that If your app requested <strong>Always<\/strong> permissions, users will see the same dialog as for <strong>When In Use<\/strong>, except the consequences of the user choosing the options are different.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/yjPHScfHHpEWTq3wjxf64UEcq4ouEy5JzZOketC-xHWQ65ABqJRCtAM9meT1hQ_B3zUaQkB30qQsvZvBBrHcFhBvqgHfXOtgYUtglihqqRt6CCPMonXGGzLp_m4OYRbfdz1-sz5r=s0\" alt=\"\"\/><\/figure>\n\n\n\n<p>The user choosing <strong>Allow While in Use<\/strong> though starts a multi-step process, called Provisional Always Authorization.<\/p>\n\n\n\n<p>iOS13 does this to check if the app will use a location API that requires Always permissions. In our case, continuing to track in the background fits the requirements, and usually, next time user checks their home screen a second dialog appears:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/-3S1rLFtLX7w5uNOxZ9enfEivy2DZFsZrIvRYBFvLDpfAQ2xCltpKqI27geQ1yqfMZsx_WJ5-RFCbR8Hk4aHLamIk1z6hGs8us_0ODheDL7-7bRZv0iPH-unNnrXO0096RSx8EdP=s0\" alt=\"\"\/><\/figure>\n\n\n\n<p>This prompt appears automatically when iOS algorithms conclude that the user is not busy and is currently on the home screen. The app has no control over the timing, but in our tests, the prompt appears shortly after switching to the home screen during active location tracking.<\/p>\n\n\n\n<p>Once the user chooses either Change to Always Allow or Keep Only While Using, your app starts receiving location events. This event marks the end of the Provisional Always Authorization state.<\/p>\n\n\n\n<p>However, to reduce this gap, you can do this:<\/p>\n\n\n\n<p>On the screen where you request for Always permissions, explain that your app requires the user to choose Change to Always Allow on the second prompt and\/or navigate the user to the app Settings to manually end Provisional Always Authorization by switching permissions to Always Allow:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/gRwREYIli7BB4Yn-jwOtwtOhIlEmS75uyX22o8KReZ_KirchqRY7JXfIMPNSYqPKsKddEMuotS1NSXQSgeFCI0pTtZKOnb3pucSSBRbv37-E1YTYTTSetDF-1Ut6dZFm7_OVBC0H=s0\" alt=\"\"\/><\/figure>\n\n\n\n<p>To do this, use can use react-native-permissions to first ask for <strong>LOCATION_WHEN_IN_USE <\/strong>permissions:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>var permission;\n   if (Platform.OS === 'ios') {\n     permission =\n       parseInt(Platform.Version, 10) &lt; 13\n         ? PERMISSIONS.IOS.LOCATION_ALWAYS\n         : PERMISSIONS.IOS.LOCATION_WHEN_IN_USE;\n   }\n   var result = await request(permission);<\/code><\/pre>\n\n\n\n<p>After requesting, check if permissions are granted and in case of iOS 13, the user must be navigated to app Settings to manually change location permissions to always. This can be done by:<\/p>\n\n\n\n<p><code>Linking.openSettings();<\/code><\/p>\n\n\n\n<p>This is how the process will look in the app:<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/VaBwBNPHsoTeKj6Y09RPMOCy479PhHZSshJKSdBqhXTpgF1lfD7BiDKLI5-Hw4wE56jMZiL0DxYuqwWqbAtdemJF4jBbbuUYEAj1a2dFP8Ai6jdUTI-0mGfurDxBTs6UzJwlRmZX=s0\" alt=\"\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/ajEK3EK7y2RxcSIewUgpkK-dI3EW58dLahIWGgEtzm7yx8utiRdwNreRe4PIP5Iu39gzYuTwtinpAUUuK6E2JN4PCC8TfrdDt1qrk5cADEXc7obIxMApnzSGMR3YWOmGphjKVjFi=s0\" alt=\"\"\/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Android<\/strong><\/h3>\n\n\n\n<p>Similar to iOS, in Android 10 and above, a new permission <strong><code>ACCESS_BACKGROUND_LOCATION<\/code> <\/strong>is introduced. However, to enable this, the user must be navigated to the app settings. In the case of the Android version is below 10, this step is not required and using <code>ACCESS_FINE_LOCATION<\/code> will do the work. The process is similar to iOS and this is how it can be achieved:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>if (Platform.Version &lt; 29) {\n       alwaysPermission = PERMISSIONS.ANDROID.ACCESS_FINE_LOCATION;\n     } else {\n       alwaysPermission = PERMISSIONS.ANDROID.ACCESS_BACKGROUND_LOCATION;\n     }\n   }\n<\/code><\/pre>\n\n\n\n<p>Then, in order to navigate to app settings, use <code>Linking.openSettings();<\/code><\/p>\n\n\n\n<p>This is what the flow looks like:<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-2 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/xxachgX-ff22OU669DNZrXdLhQTGtvaOS-9HAG1yu8gQu6aFRmezTgrOKtK6YnAXVhi_2jdqeDmK_wIpNaMFdKNm7ITMYKzKWqQHrroRCpBwYE30Q5QAHqHiBRvHd94qo67FIMGI=s0\" alt=\"\"\/><\/figure><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/iFKggDbjm7CQjxeRP6OZO76PiGwMhcuEorpi4f3R8KOCh8yO_Q0vkaZdcf0nVYQRSQZBssO_Bgxo3XV5l9JHCIU9YrA-b-s0Ir6T7zDG2Ry26eIYVeDB-JtX3wtVg6DVAAFyiAIk=s0\" alt=\"\"\/><\/figure><\/div>\n<\/div>\n<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Note:<\/h4>\n\n\n\n<p>It is important that GPS is enabled as the permissions library would not enable it even if the location permissions are enabled. To enable GPS, <a href=\"https:\/\/www.npmjs.com\/package\/react-native-android-location-enabler\">react-native-android-location-enabler<\/a> can be used.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Location-based applications are widely used nowadays in mobile apps. You may want to get a user\u2019s location to show services around, get a sense of the user &#8216;s city or country or act based on the location updates of the user while moving (like Uber calculating the distance and trip fare). In this article, we &hellip; <a href=\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Handling Background Location Permissions in React Native&#8221;<\/span><\/a><\/p>\n","protected":false},"author":37,"featured_media":5497,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[47,1,50],"tags":[],"class_list":["post-5494","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-app-development","category-blog","category-react-native"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Handling Background Location Permissions in React Native - Mobile App Development Services<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Handling Background Location Permissions in React Native - Mobile App Development Services\" \/>\n<meta property=\"og:description\" content=\"Location-based applications are widely used nowadays in mobile apps. You may want to get a user\u2019s location to show services around, get a sense of the user &#8216;s city or country or act based on the location updates of the user while moving (like Uber calculating the distance and trip fare). In this article, we &hellip; Continue reading &quot;Handling Background Location Permissions in React Native&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/\" \/>\n<meta property=\"og:site_name\" content=\"Mobile App Development Services\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-23T06:10:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-23T06:12:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2021\/09\/43486-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2327\" \/>\n\t<meta property=\"og:image:height\" content=\"2560\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Noc Folio3\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Noc Folio3\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/\"},\"author\":{\"name\":\"Noc Folio3\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/0b6e4f68efbd12d222ac9422766c61eb\"},\"headline\":\"Handling Background Location Permissions in React Native\",\"datePublished\":\"2021-09-23T06:10:03+00:00\",\"dateModified\":\"2021-09-23T06:12:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/\"},\"wordCount\":496,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2021\/09\/43486-scaled.jpg\",\"articleSection\":[\"App Development\",\"Blog\",\"React Native\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/\",\"url\":\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/\",\"name\":\"Handling Background Location Permissions in React Native - Mobile App Development Services\",\"isPartOf\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2021\/09\/43486-scaled.jpg\",\"datePublished\":\"2021-09-23T06:10:03+00:00\",\"dateModified\":\"2021-09-23T06:12:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#primaryimage\",\"url\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2021\/09\/43486-scaled.jpg\",\"contentUrl\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2021\/09\/43486-scaled.jpg\",\"width\":2327,\"height\":2560,\"caption\":\"City map seamless background pattern with streets housing icons cyclist park airport lake with boats fuel pump high-rise buildings and apartments in a square format vector illustration\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.folio3.com\/mobile\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Handling Background Location Permissions in React Native\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#website\",\"url\":\"https:\/\/www.folio3.com\/mobile\/\",\"name\":\"Mobile App Development Services\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.folio3.com\/mobile\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#organization\",\"name\":\"Mobile App Development Services\",\"url\":\"https:\/\/www.folio3.com\/mobile\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/12\/folio3-mobile.png\",\"contentUrl\":\"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/12\/folio3-mobile.png\",\"width\":210,\"height\":50,\"caption\":\"Mobile App Development Services\"},\"image\":{\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/0b6e4f68efbd12d222ac9422766c61eb\",\"name\":\"Noc Folio3\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/29f05a21b8db20048e7717694b024bbd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/29f05a21b8db20048e7717694b024bbd?s=96&d=mm&r=g\",\"caption\":\"Noc Folio3\"},\"url\":\"https:\/\/www.folio3.com\/mobile\/blog\/author\/noc\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Handling Background Location Permissions in React Native - Mobile App Development Services","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/","og_locale":"en_US","og_type":"article","og_title":"Handling Background Location Permissions in React Native - Mobile App Development Services","og_description":"Location-based applications are widely used nowadays in mobile apps. You may want to get a user\u2019s location to show services around, get a sense of the user &#8216;s city or country or act based on the location updates of the user while moving (like Uber calculating the distance and trip fare). In this article, we &hellip; Continue reading \"Handling Background Location Permissions in React Native\"","og_url":"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/","og_site_name":"Mobile App Development Services","article_published_time":"2021-09-23T06:10:03+00:00","article_modified_time":"2021-09-23T06:12:54+00:00","og_image":[{"width":2327,"height":2560,"url":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2021\/09\/43486-scaled.jpg","type":"image\/jpeg"}],"author":"Noc Folio3","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Noc Folio3","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#article","isPartOf":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/"},"author":{"name":"Noc Folio3","@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/0b6e4f68efbd12d222ac9422766c61eb"},"headline":"Handling Background Location Permissions in React Native","datePublished":"2021-09-23T06:10:03+00:00","dateModified":"2021-09-23T06:12:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/"},"wordCount":496,"commentCount":0,"publisher":{"@id":"https:\/\/www.folio3.com\/mobile\/#organization"},"image":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#primaryimage"},"thumbnailUrl":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2021\/09\/43486-scaled.jpg","articleSection":["App Development","Blog","React Native"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/","url":"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/","name":"Handling Background Location Permissions in React Native - Mobile App Development Services","isPartOf":{"@id":"https:\/\/www.folio3.com\/mobile\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#primaryimage"},"image":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#primaryimage"},"thumbnailUrl":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2021\/09\/43486-scaled.jpg","datePublished":"2021-09-23T06:10:03+00:00","dateModified":"2021-09-23T06:12:54+00:00","breadcrumb":{"@id":"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#primaryimage","url":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2021\/09\/43486-scaled.jpg","contentUrl":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2021\/09\/43486-scaled.jpg","width":2327,"height":2560,"caption":"City map seamless background pattern with streets housing icons cyclist park airport lake with boats fuel pump high-rise buildings and apartments in a square format vector illustration"},{"@type":"BreadcrumbList","@id":"https:\/\/www.folio3.com\/mobile\/blog\/handling-background-location-permissions-in-react-native\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.folio3.com\/mobile\/"},{"@type":"ListItem","position":2,"name":"Handling Background Location Permissions in React Native"}]},{"@type":"WebSite","@id":"https:\/\/www.folio3.com\/mobile\/#website","url":"https:\/\/www.folio3.com\/mobile\/","name":"Mobile App Development Services","description":"","publisher":{"@id":"https:\/\/www.folio3.com\/mobile\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.folio3.com\/mobile\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.folio3.com\/mobile\/#organization","name":"Mobile App Development Services","url":"https:\/\/www.folio3.com\/mobile\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/logo\/image\/","url":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/12\/folio3-mobile.png","contentUrl":"https:\/\/www.folio3.com\/mobile\/wp-content\/uploads\/2020\/12\/folio3-mobile.png","width":210,"height":50,"caption":"Mobile App Development Services"},"image":{"@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/0b6e4f68efbd12d222ac9422766c61eb","name":"Noc Folio3","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.folio3.com\/mobile\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/29f05a21b8db20048e7717694b024bbd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/29f05a21b8db20048e7717694b024bbd?s=96&d=mm&r=g","caption":"Noc Folio3"},"url":"https:\/\/www.folio3.com\/mobile\/blog\/author\/noc\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/posts\/5494"}],"collection":[{"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/comments?post=5494"}],"version-history":[{"count":1,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/posts\/5494\/revisions"}],"predecessor-version":[{"id":5495,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/posts\/5494\/revisions\/5495"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/media\/5497"}],"wp:attachment":[{"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/media?parent=5494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/categories?post=5494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.folio3.com\/mobile\/wp-json\/wp\/v2\/tags?post=5494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}