Bug 19973 - Quick Look Previewer fails to load pdf when third-party app installed
Summary: Quick Look Previewer fails to load pdf when third-party app installed
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 7.2.2
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2014-05-21 16:02 UTC by Allie Miller
Modified: 2014-05-22 04:40 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Allie Miller 2014-05-21 16:02:00 UTC
When a user opens a PDF file using the Quick Look Previewer in a Xamarin.iOS application on an iPad, the document fails to load (grey screen appears) with the text:

<pdf filename>
my pdf viewer
<file size>

This only occurs when the third-party app ClickMeeting is also installed on the device.

To reproduce the issue:
1) Download the attached test project PDFViewerTest
2) Install the ClickMeeting application on the iPad.
3) Attempt to deploy the PDFViewerTest to the iPad device

The pdf should appear whether the ClickMeeting app is installed or not.

The pdf fails to load

Versioning Information

=== Xamarin Studio ===

Version 4.2.5 (build 0)
Installation UUID: f6a3c61f-a7e2-4740-ba09-86314760e340
	Mono 3.2.6 ((no/9b58377)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 302060000

=== Apple Developer Tools ===

Xcode 5.1.1 (5085)
Build 5B1008

=== Xamarin.iOS ===

Version: (Business Edition)
Hash: db4427f
Build date: 2014-04-22 12:49:14-0400

=== Xamarin.Android ===

Version: 4.12.3 (Business Edition)
Android SDK: /Users/amiller/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

=== Xamarin.Mac ===
=== Build Information ===
Release ID: 402050000
Git revision: 95ac543f224a70960a9ab71e24ce341eb87de06f
Build date: 2014-05-02 13:05:15-04
Xamarin addins: b81285ac0156281956135adb96685f98922893a1
=== Operating System ===
Mac OS X 10.9.2

iPad running 7.1.1 (11D201)
Comment 2 Rolf Bjarne Kvinge [MSFT] 2014-05-22 04:40:05 UTC
It's because ClickMeeting handles pdfs by setting CFBundleDocumentTypes/UTExportedTypeDeclarations in their Info.plist.

There is nothing Xamarin can do about this.

It might be possible to 'override' ClickMeeting by setting the same options in the app's Info.plist.