{"id":3089,"date":"2018-08-14T14:37:33","date_gmt":"2018-08-14T12:37:33","guid":{"rendered":"http:\/\/www.theill.com\/?p=3089"},"modified":"2018-08-16T13:38:47","modified_gmt":"2018-08-16T11:38:47","slug":"ns-usage-description-default-values","status":"publish","type":"post","link":"https:\/\/www.theill.com\/blog\/2018\/08\/14\/ns-usage-description-default-values\/","title":{"rendered":"Sensible NS*UsageDescription values"},"content":{"rendered":"\n

While working on Familio<\/a> I regular have to add new usage descriptions in our Info.plist. These usage descriptions are required when asking for various kinds of permission.<\/p>\n\n\n\n

I’ve collected my list of default usage descriptions which others might find useful as a sensible default.<\/p>\n\n\n\n

<key>NSBluetoothPeripheralUsageDescription<\/key><string>By allowing access to Bluetooth, we are able to communicate with other families with ease<\/string><key>NSContactsUsageDescription<\/key><string>By allowing access to your contacts, we are able to read phone and emails of your existing contacts<\/string><key>NSCalendarsUsageDescription<\/key><string>By allowing access to your calendar, we are able to process invites automatically for you<\/string><key>NSCameraUsageDescription<\/key><string>By allowing access to your camera, we are able to take a selfie for your profile picture<\/string><key>NSLocationWhenInUseUsageDescription<\/key><string>By allowing access to your location, we are able to provide services in your geographical area<\/string><key>NSPhotoLibraryAddUsageDescription<\/key><string>By allowing access to your photo library, we are able to store pictures you are taking on your device<\/string><key>NSPhotoLibraryUsageDescription<\/key>\u00a0\u00a0<string>By allowing access to your photo library, we are able to store your captured pictures<\/string><key>NSSpeechRecognitionUsageDescription<\/key><string>By allowing access to speech, we are able to faster enter information for you<\/string><key>NSAppleMusicUsageDescription<\/key><string>By allowing access to Apple Music, we are able to suggest music for you and your family<\/string><key>NSMicrophoneUsageDescription<\/key><string>By allowing access to your microphone, we are able to send your voice when performing a call<\/string><key>NSMotionUsageDescription<\/key><string>By allowing access to motion usage, we are able to better detect how you and your family move<\/string><\/pre>\n","protected":false},"excerpt":{"rendered":"

While working on Familio I regular have to add new usage descriptions in our Info.plist. These usage descriptions are required when asking for various kinds of permission. I’ve collected my list of default usage descriptions which others might find useful as a sensible default. <key>NSBluetoothPeripheralUsageDescription<\/key><string>By allowing access to Bluetooth, we are able to communicate with … Continue reading Sensible NS*UsageDescription values<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":3090,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[69],"tags":[72,71,70],"jetpack_featured_media_url":"https:\/\/i2.wp.com\/www.theill.com\/wp-content\/uploads\/2018\/08\/chris-lawton-154388-unsplash.jpg?fit=6000%2C4000&ssl=1","jetpack_publicize_connections":[],"yoast_head":"\nSensible NS*UsageDescription values • Peter Theill Site<\/title>\n<meta name=\"robots\" content=\"index, follow\" \/>\n<meta name=\"googlebot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta name=\"bingbot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.theill.com\/blog\/2018\/08\/14\/ns-usage-description-default-values\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sensible NS*UsageDescription values • Peter Theill Site\" \/>\n<meta property=\"og:description\" content=\"While working on Familio I regular have to add new usage descriptions in our Info.plist. These usage descriptions are required when asking for various kinds of permission. I’ve collected my list of default usage descriptions which others might find useful as a sensible default. <key>NSBluetoothPeripheralUsageDescription<\/key><string>By allowing access to Bluetooth, we are able to communicate with … Continue reading Sensible NS*UsageDescription values\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.theill.com\/blog\/2018\/08\/14\/ns-usage-description-default-values\/\" \/>\n<meta property=\"og:site_name\" content=\"Peter Theill Site\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-14T12:37:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-08-16T11:38:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.theill.com\/wp-content\/uploads\/2018\/08\/chris-lawton-154388-unsplash-1024x683.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"683\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:creator\" content=\"@theill\" \/>\n<meta name=\"twitter:site\" content=\"@theill\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.theill.com\/#website\",\"url\":\"https:\/\/www.theill.com\/\",\"name\":\"Peter Theill Site\",\"description\":\"What\\u2019s going on in the personal life of Peter Theill\",\"publisher\":{\"@id\":\"https:\/\/www.theill.com\/#\/schema\/person\/d65d009363af2cc0a150b55dc20fa301\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.theill.com\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.theill.com\/blog\/2018\/08\/14\/ns-usage-description-default-values\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i2.wp.com\/www.theill.com\/wp-content\/uploads\/2018\/08\/chris-lawton-154388-unsplash.jpg?fit=6000%2C4000&ssl=1\",\"width\":6000,\"height\":4000},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.theill.com\/blog\/2018\/08\/14\/ns-usage-description-default-values\/#webpage\",\"url\":\"https:\/\/www.theill.com\/blog\/2018\/08\/14\/ns-usage-description-default-values\/\",\"name\":\"Sensible NS*UsageDescription values • Peter Theill Site\",\"isPartOf\":{\"@id\":\"https:\/\/www.theill.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.theill.com\/blog\/2018\/08\/14\/ns-usage-description-default-values\/#primaryimage\"},\"datePublished\":\"2018-08-14T12:37:33+00:00\",\"dateModified\":\"2018-08-16T11:38:47+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.theill.com\/blog\/2018\/08\/14\/ns-usage-description-default-values\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.theill.com\/blog\/2018\/08\/14\/ns-usage-description-default-values\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.theill.com\/blog\/2018\/08\/14\/ns-usage-description-default-values\/#webpage\"},\"author\":{\"@id\":\"https:\/\/www.theill.com\/#\/schema\/person\/d65d009363af2cc0a150b55dc20fa301\"},\"headline\":\"Sensible NS*UsageDescription values\",\"datePublished\":\"2018-08-14T12:37:33+00:00\",\"dateModified\":\"2018-08-16T11:38:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.theill.com\/blog\/2018\/08\/14\/ns-usage-description-default-values\/#webpage\"},\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.theill.com\/#\/schema\/person\/d65d009363af2cc0a150b55dc20fa301\"},\"image\":{\"@id\":\"https:\/\/www.theill.com\/blog\/2018\/08\/14\/ns-usage-description-default-values\/#primaryimage\"},\"keywords\":\"development,familio,ios\",\"articleSection\":\"familio\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.theill.com\/blog\/2018\/08\/14\/ns-usage-description-default-values\/#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.theill.com\/#\/schema\/person\/d65d009363af2cc0a150b55dc20fa301\",\"name\":\"Peter\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.theill.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f4f96a08152550e603ee595403f3ba57?s=96&d=retro&r=g\",\"caption\":\"Peter\"},\"logo\":{\"@id\":\"https:\/\/www.theill.com\/#personlogo\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","jetpack_shortlink":"https:\/\/wp.me\/p8TYI1-NP","jetpack-related-posts":[{"id":2958,"url":"https:\/\/www.theill.com\/blog\/2018\/04\/19\/illustrations-for-familio\/","url_meta":{"origin":3089,"position":0},"title":"Illustrations for Familio","date":"April 19, 2018","format":"image","excerpt":"I'm in talks with an illustrator who will be doing a bunch of new illustrations for our mobile app and site. They are going to be gorgeous such as this one for showing an empty inbox. Familio is a shared inbox for your family launching later this year. If you\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.theill.com\/wp-content\/uploads\/2018\/04\/familio-empty-inbox3197512660039116747..jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3402,"url":"https:\/\/www.theill.com\/blog\/2011\/04\/25\/use-sensible-defaults-when-building-a-web-mobile-or-desktop-application\/","url_meta":{"origin":3089,"position":1},"title":"Use sensible defaults when building a web, mobile or desktop application","date":"April 25, 2011","format":false,"excerpt":"While working on migrating \u201cgomore.dk\u201d, a Danish ridesharing service, to Rails 3, I figured it would make sense to look into the existing database to figure out if I could add some sensible defaults when creating e.g. new rides. The site already contains a decent database so I figured it\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2981,"url":"https:\/\/www.theill.com\/blog\/2018\/05\/16\/familio-pitching\/","url_meta":{"origin":3089,"position":2},"title":"Familio pitching","date":"May 16, 2018","format":"image","excerpt":"","rel":"","context":"With 2 comments","img":{"alt_text":"","src":"https:\/\/i2.wp.com\/theill.com\/wp-content\/uploads\/2018\/05\/wp-15264715655285947307411330493168.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2621,"url":"https:\/\/www.theill.com\/blog\/2017\/12\/19\/celebrating-at-work\/","url_meta":{"origin":3089,"position":3},"title":"Celebrating at work","date":"December 19, 2017","format":"image","excerpt":"Initial partner launch of Familio Birthday","rel":"","context":"With 1 comment","img":{"alt_text":"","src":"https:\/\/i1.wp.com\/life.theill.com\/wp-content\/uploads\/2017\/12\/img_1159.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1926,"url":"https:\/\/www.theill.com\/blog\/2015\/06\/18\/latest-hobby-project-forward-hits-app-store\/","url_meta":{"origin":3089,"position":4},"title":"Latest hobby project Forward hits App Store","date":"June 18, 2015","format":false,"excerpt":"Recently I\u2019ve been working on a small hobby-project called Forward. This project is quite simply - donate your old, used stuff and have people donate to your chosen charity. I\u2019ve worked on Forward for around 3 months. It\u2019s available in Apple App Store now and will be available for Android\u2026","rel":"","context":"In \"charity\"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3412,"url":"https:\/\/www.theill.com\/blog\/2010\/08\/14\/send-your-weight-from-an-iphone-through-sms\/","url_meta":{"origin":3089,"position":5},"title":"Send your weight from an iPhone through SMS","date":"August 14, 2010","format":false,"excerpt":"While working on lifestyleapps I have been asked a couple of times, if it would be possible to report your weight by sending an SMS from your phone. This is already possible and I have been using it from my iPhone 3G for a long time. The trick is to\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"amp_validity":null,"_links":{"self":[{"href":"https:\/\/www.theill.com\/wp-json\/wp\/v2\/posts\/3089"}],"collection":[{"href":"https:\/\/www.theill.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.theill.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.theill.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.theill.com\/wp-json\/wp\/v2\/comments?post=3089"}],"version-history":[{"count":2,"href":"https:\/\/www.theill.com\/wp-json\/wp\/v2\/posts\/3089\/revisions"}],"predecessor-version":[{"id":3096,"href":"https:\/\/www.theill.com\/wp-json\/wp\/v2\/posts\/3089\/revisions\/3096"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.theill.com\/wp-json\/wp\/v2\/media\/3090"}],"wp:attachment":[{"href":"https:\/\/www.theill.com\/wp-json\/wp\/v2\/media?parent=3089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.theill.com\/wp-json\/wp\/v2\/categories?post=3089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.theill.com\/wp-json\/wp\/v2\/tags?post=3089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}