From 2fc6ce674a746af2a0b20731f302cac7ea120f0f Mon Sep 17 00:00:00 2001 From: Matt Holgate Date: Tue, 1 Jul 2014 18:27:33 +0100 Subject: Fix bug #695346 - iOS app does not register to open CBZ files. Use the UTI 'public.cbz-archive' instead of the more generic 'public.zip-archive'. It's likely another app (or the OS) has an Exported UTI for 'public.zip-archive' which would take precedence over our Imported UTI and not have a 'cbz' extension. It's not entirely clear what the correct UTI to use for CBZs is (there are a few), but public.cbz-archive seems to be most likely candidate. Remove the 'zip' extension, as we probably don't want to load arbitrary zip files. Add mimetypes for all completeness, and separate OXPS from XPS as it has a different mimetype. --- platform/ios/Info.plist | 43 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 4 deletions(-) (limited to 'platform/ios') diff --git a/platform/ios/Info.plist b/platform/ios/Info.plist index 451f5a2f..ae1a16f3 100644 --- a/platform/ios/Info.plist +++ b/platform/ios/Info.plist @@ -29,13 +29,27 @@ + CFBundleTypeIconFiles + CFBundleTypeName CBZ LSHandlerRank Alternate LSItemContentTypes - public.zip-archive + public.cbz-archive + + + + CFBundleTypeIconFiles + + CFBundleTypeName + OXPS + LSHandlerRank + Alternate + LSItemContentTypes + + com.microsoft.oxps @@ -137,8 +151,9 @@ public.filename-extension xps - oxps + public.mime-type + application/vnd.ms-xpsdocument @@ -147,14 +162,15 @@ public.data UTTypeIdentifier - public.zip-archive + public.cbz-archive UTTypeTagSpecification public.filename-extension - zip cbz + public.mime-type + application/x-cbz @@ -170,6 +186,25 @@ pdf + public.mime-type + application/pdf + + + + UTTypeConformsTo + + public.data + + UTTypeIdentifier + com.microsoft.oxps + UTTypeTagSpecification + + public.filename-extension + + oxps + + public.mime-type + application/oxps -- cgit v1.2.3