Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24780] iOS 11: Expose new API's to Ti.SafariDialog

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2017-10-10T22:25:49.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.3.0
ComponentsiOS
Labelsios11, safaridialog
ReporterHans Knöchel
AssigneeHans Knöchel
Created2017-06-06T11:00:11.000+0000
Updated2017-10-10T22:26:47.000+0000

Description

iOS 11 offers new configuration methods for the Ti.SafariDialog module: * barCollapsingEnabled: Decide whether or not you want to collapse the nav-bar during scrolling * dismissButtonStyle: Different dismiss-styles for the nav-button (done, close, cancel). * Expose AuthenticationSession API

Comments

  1. Hans Knöchel 2017-06-06

    PR: https://github.com/appcelerator-modules/ti.safaridialog/pull/12 Test-Case:
       var dialog = require('ti.safaridialog');
       
       if (dialog.isSupported()) {
           dialog.open({
               url: 'http://appcelerator.com',
               title: 'Titanium rocks!',
               barCollapsingEnabled: false,
               dismissButtonStyle: dialog.DISMISS_BUTTON_STYLE_CLOSE
           });
       }
       
  2. Eric Wieber 2017-10-10

    Verified in module Ti.SafariDialog 2.0.0

JSON Source