Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19905] iOS: SafariDialog's supported is false on iOS 9.1

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-11-10T18:00:05.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.1.0
ComponentsiOS
Labelsios, safaridialog, supported
ReporterFokke Zandbergen
AssigneeHans Knöchel
Created2015-11-10T15:59:14.000+0000
Updated2015-11-20T17:17:38.000+0000

Description

The following code:
var dialog = require('ti.safaridialog');

Ti.API.info('ti.safaridialog.supported ' + dialog.supported);
Ti.API.info('ti.safaridialog.getSupprted() ' + dialog.getSupported());
Ti.API.info('ti.safaridialog.isSupported() ' + dialog.isSupported());
Will print:
[INFO]  ti.safaridialog.supported false
[INFO]  ti.safaridialog.getSupprted() false
[INFO]  ti.safaridialog.isSupported() false
So the example in the docs will fail. The only workaround is to manually check the device's iOS version (or it will crash on older devices if you leave out the check)

Comments

  1. Hans Knöchel 2015-11-10

    Fixed as part of TIMOB-19906
  2. Wilson Luu 2015-11-10

    Closing ticket as fixed. Verified fix in TIMOB-19906.

JSON Source