{ "id": "169949", "key": "TIMOB-25364", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2019-05-06T21:48:18.000+0000", "created": "2017-10-03T03:20:14.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ios", "regression" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2019-05-06T21:48:18.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "I have an app that recognizes \".picsafe\" files (my own custom extension). Here is an extract from my tiapp.xml file. \r\n\r\n```\r\nCFBundleDocumentTypes\r\n \r\n \r\n CFBundleTypeName\r\n PicSafe File\r\n CFBundleTypeIconFiles\r\n \r\n Document-picsafe-320.png\r\n Document-picsafe-64.png\r\n Document-picsafe-58.png\r\n Document-picsafe-29.png\r\n \r\n LSItemContentTypes\r\n \r\n com.picsafe.med\r\n \r\n LSHandlerRank\r\n Owner\r\n CFBundleTypeRole\r\n Viewer\r\n public.filename-extension\r\n picsafe\r\n \r\n \r\n```\r\n\r\nWhen I build to a device running iOS 11, it does not use the image specified. It seems to use the app icon. When I build to a device running iOS 10, the correct image is displayed. See the images attached (iOS 11 is running on the device on the left and iOS 10 is running on the device on the right).\r\n\r\nNote, I tried deleting my app on the iOS 11 device and you can see that it uses the Telegram icon, and it would appear that it is using the correct CFBundleTypeIconFiles icon for Telegram. That leads me to believe it might be a Titanium issue. \r\n \r\n", "attachment": [ { "id": "63381", "filename": "IMG_0086.JPG", "author": { "name": "raefa", "key": "raefa", "displayName": "Raef Akehurst", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-10-03T03:15:16.000+0000", "size": 1174618, "mimeType": "image/jpeg" }, { "id": "63382", "filename": "IMG_0087.JPG", "author": { "name": "raefa", "key": "raefa", "displayName": "Raef Akehurst", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-10-03T03:12:20.000+0000", "size": 1189123, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "iOS: CFBundleTypeIconFiles not used in iOS11", "creator": { "name": "raefa", "key": "raefa", "displayName": "Raef Akehurst", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "raefa", "key": "raefa", "displayName": "Raef Akehurst", "active": true, "timeZone": "Australia/Sydney" }, "environment": "iOS 11\r\nTi SDK 6.2.2", "comment": { "comments": [ { "id": "428665", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey there! Although we did not change anything related to icon-files over the last months, so it might actually be change of configuration between iOS 10 and iOS 11 that you may need to change in your plist as well. We will still try to investigate it for you and come back once we know more, thanks! \r\n\r\n*EDIT*: After a quick research, you might miss required icon-sizes *or* Apple changed the way icons need to be named. You may download the Telegram IPA file and extract it to see their actual Info.plist and referenced resources. May that help?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-03T16:21:56.000+0000", "updated": "2017-10-03T16:27:38.000+0000" }, { "id": "428689", "author": { "name": "raefa", "key": "raefa", "displayName": "Raef Akehurst", "active": true, "timeZone": "Australia/Sydney" }, "body": "Hi Hans. Thanks for your help with this. I have done some more research.\r\n\r\nAccording to the Apple documentation (https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-SW9) I have the correct file types and there is no mention of this changing for iOS 11. Again, according to the Apple documentation, you can specify the file names in the info.plist. \r\n\r\nI looked at the Telegram source code (it is open source - https://github.com/peter-iakovlev/Telegram) and they don't even use `CFBundleTypeIconFiles`, they simply fall back to using the app icon. As to why it does not go full width like mine does I don't know.\r\n\r\nNext step, I uninstalled Telegram and my app so now it tried to open my custom file in Slack. That icon also looks good. \r\n\r\nNext step. I removed the files from within `CFBundleTypeIconFiles` on my app. It places the app icon in the image ... and it looks good on iOS 11! It is not full width. \r\n\r\nNext step. I installed on a device running iOS 10 and it also looks good. \r\n\r\nConclusion. It is not a Titanium issue, it is an Apple iOS 11 issue. I have a solution now so I think we can mark this one as closed.\r\n\r\n\r\n\r\n\r\n\r\n", "updateAuthor": { "name": "raefa", "key": "raefa", "displayName": "Raef Akehurst", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-10-03T23:35:52.000+0000", "updated": "2017-10-03T23:35:52.000+0000" }, { "id": "448199", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing per developer comments.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-05-06T21:48:18.000+0000", "updated": "2019-05-06T21:48:18.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }