[TIMOB-19905] iOS: SafariDialog's supported is false on iOS 9.1
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-11-10T18:00:05.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.1.0 |
Components | iOS |
Labels | ios, safaridialog, supported |
Reporter | Fokke Zandbergen |
Assignee | Hans Knöchel |
Created | 2015-11-10T15:59:14.000+0000 |
Updated | 2015-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)
Fixed as part of TIMOB-19906
Closing ticket as fixed. Verified fix in TIMOB-19906.