Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25215] DocumentViewer: Not working well only on iOS 8 devices

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionNot Our Bug
Resolution Date2017-09-01T14:02:36.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterShuo Liang
AssigneeHans Knöchel
Created2017-09-01T02:46:04.000+0000
Updated2017-09-01T14:02:42.000+0000

Description

Reproduce

1. Run the following simple code in a classic project on a iOS 8 device.
var win = Ti.UI.createWindow({
	backgroundColor : 'white',
	title : 'sample'
});
var lbl = Ti.UI.createLabel({
	text : 'click to view doc viewer'
});
lbl.addEventListener('click', function() {
	var docViewer = Ti.UI.iOS.createDocumentViewer();
	docViewer.url = 'test.pdf';
	docViewer.show();
	
});
win.add(lbl);
win.open();

Problem

Get empty screen without any done button

Note

1. It is working well on iOS 9 and above device 2. It is working well on iOS 8.4 simulator. 3. Seems problem is only happened on iOS 8 real device.

Attachments

FileDateSize
test.pdf2017-09-01T02:45:20.000+0000317086

Comments

  1. Hans Knöchel 2017-09-01

    Investigating today!
  2. Shuo Liang 2017-09-01

    [~hknoechel]. It seems a problem to customer's device. We can close that now.
  3. Hans Knöchel 2017-09-01

    Yeah, I was actually unable to reproduce it. Does it work on that device now? Closing ...

JSON Source