Watch Companion app should display CFBundleDisplayName not CFBundleName
Originator: | futuretap | ||
Number: | rdar://22660244 | Date Originated: | 11-Sep-2015 03:26 PM |
Status: | Resolved | Resolved: | |
Product: | iOS SDK | Product Version: | 9.0 GM |
Classification: | UI/Usability | Reproducible: | Always |
According to https://developer.apple.com/library/ios/qa/qa1892/_index.html the Apple Watch Companion app displays apps using the CFBundleName, not the CFBundleDisplayName. This is bad for a number of reasons: - It's inconsistent since everywhere else (home screen app name, WK app name) CFBundleDisplayName is used - When localizing CFBundleName, this is also reflected in the standard HTTP user agent of NSURLRequest. In most cases it's not desirable to send a localized user agent to the server. Server apps sometimes need to parse the user agent e.g. to retrieve the app version number. Parsing a localized app name is more complicated and error prone. It also distorts user agent statistics because requests from the same app appear under different user agent names.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Apple Response, September 23 2015
This is fixed for apps built with 9.0 and later. We now use CRBundleDisplay if the iOS app that contains the WatchKit extension was built with iOS 9.0 or later. We have a separate bug report to track the need to update the note.