Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19905

iOS: SafariDialog's supported is false on iOS 9.1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 5.1.0
    • Component/s: iOS
    • Environment:

      SDK 5.1.0.RC (5.1.0.v20151104190037)
      iOS Simulator 9.1

    • Story Points:
      1
    • Sprint:
      2015 Sprint 23 SDK

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hknoechel Hans Knöchel
                Reporter:
                fokkezb Fokke Zandbergen
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-20629
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration