{"id":20780,"date":"2018-03-02T11:25:57","date_gmt":"2018-03-02T16:25:57","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=20780"},"modified":"2018-03-02T11:26:33","modified_gmt":"2018-03-02T16:26:33","slug":"ios-uses-cfbundlename-to-differentiate-apps","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2018\/03\/02\/ios-uses-cfbundlename-to-differentiate-apps\/","title":{"rendered":"iOS Uses CFBundleName to Differentiate Apps"},"content":{"rendered":"<p><a href=\"https:\/\/www.reddit.com\/r\/iOSProgramming\/comments\/812o36\/apple_uses_cfbundlename_to_differentiate_between\/\">Kasuist<\/a> (via <a href=\"https:\/\/twitter.com\/steipete\/status\/969331839084134400\">Peter Steinberger<\/a>):<\/p>\n<blockquote cite=\"https:\/\/www.reddit.com\/r\/iOSProgramming\/comments\/812o36\/apple_uses_cfbundlename_to_differentiate_between\/\">\n<p>To keep this service affordable to small businesses, we have a white label application that can be themed to their specifications. So everything is built from a single project.<\/p>\n<p>Recently it got to the point where some customers would have a few of our apps installed.<\/p>\n<p>We started getting tickets from users telling us that an app of ours was only working on WiFi. It took us a while to figure out what was actually going on.<\/p>\n<p>[&#8230;]<\/p>\n<p>Rather than using an apps unique <code>BundleID<\/code> to differentiate between applications, Apple is using <code>BundleName<\/code> instead. You can install any number of apps with the same <code>BundleName<\/code> on the same device as you like.<\/p>\n<p>This means that should you turn mobile data off for one of these apps, the others will also be affected.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/steipete\/status\/969331839084134400\">Felix Krause<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/steipete\/status\/969331839084134400\">\n<p>I&rsquo;m gonna use the same CFBundleName as Safari, always have mobile data access<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/nacho4d\/status\/969370994983841792\">Ignacio Enriquez G<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/nacho4d\/status\/969370994983841792\">\n<p>Same problem with TouchID, install app 1 and app2 with same name and touch ID will always fail for app1. I don&rsquo;t know who had this brilliant idea of using the bundle name instead of the bundle id.<\/p>\n<\/blockquote>\n\n<p>Previously: <a href=\"https:\/\/mjtsai.com\/blog\/2017\/12\/22\/apple-narrows-ban-on-templated-apps\/\">Apple Narrows Ban on Templated Apps<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Kasuist (via Peter Steinberger): To keep this service affordable to small businesses, we have a white label application that can be themed to their specifications. So everything is built from a single project. Recently it got to the point where some customers would have a few of our apps installed. We started getting tickets from [&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":[],"tags":[131,986,31,1472,573],"class_list":["post-20780","post","type-post","status-publish","format-standard","hentry","tag-bug","tag-cellular-data","tag-ios","tag-ios-11","tag-touch-id"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/20780","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=20780"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/20780\/revisions"}],"predecessor-version":[{"id":20784,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/20780\/revisions\/20784"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=20780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=20780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=20780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}