Skip to content

Use the SFSafariViewController (iOS) and Chrome Pages (Android) together.

License

Notifications You must be signed in to change notification settings

ypbnv/titanium-web-dialog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Titanium Web Dialog

Use the SFSafariViewController (iOS) and Chrome Pages (Android) together.

Titanium Web Dialog

Requirements

  • Titanium SDK 7.0.0 or later (or use the SDK-6-compatibility Titanium SDK 6.x)
  • iOS 9+ and Android 4.1+

Roadmap

  • Find suitable module name
  • Create both modules on the same namespace (right now Ti.SafariDialog vs Ti.ChromeTabs)
  • Adjust existing docs from Ti.SafariDialog to support Android as well
  • Write cross-platform example and tests
  • Release module

Android Legacy Support

This module is designed to work with the latest platform API's that are covered by the Titanium SDK 7.0.0 and later. If you want to use this module in Titanium SDK 6.x, please use the this version.

API's

Top-Level

Methods

  • open(arguments)

    • url (String)
    • barColor (String)
    • animated (Boolean, iOS only)
    • entersReaderIfAvailable (Boolean, iOS only)
    • barCollapsingEnabled (Boolean, iOS only)
    • title (String, iOS only)
    • tintColor (String, iOS only)    * dismissButtonStyle (DISMISS_BUTTON_STYLE_*, iOS only)
    • showTitle (Boolean, Android only)
    • fadeTransition (Boolean, Android only)
    • enableSharing (Boolean, Android only) - Enable Share... menu item to share link
    • closeIcon (String, Android only) - image path to show as close-button icon
  • isSupported() -> Boolean

  • isOpen() (iOS only) -> Boolean

  • close() (iOS only)

Properties

  • DISMISS_BUTTON_STYLE_DONE (iOS only)
  • DISMISS_BUTTON_STYLE_CLOSE (iOS only)
  • DISMISS_BUTTON_STYLE_CANCEL (iOS only)

AuthenticationSession (iOS only)

License

Apache 2.0

Author

About

Use the SFSafariViewController (iOS) and Chrome Pages (Android) together.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 46.2%
  • Objective-C 46.0%
  • JavaScript 7.8%