Skip to content

Axway Amplify modules to use native SFSafariViewController (iOS) and Chrome Pages (Android) with Appcelerator Titanium apps

License

Notifications You must be signed in to change notification settings

mobilehero-archive/titanium-webdialog

Repository files navigation

👇   support for Amplify Cloud and Mobile   👇

RIP Axway Amplify Titanium (2010 - 2022)

🪦   RIP Axway Amplify Titanium (2010 - 2022)

🪦   RIP Axway Amplify Cloud Services (2012 - 2022)

🪦   RIP Axway Amplify Crash Analytics (2015 - 2022)


🛑    Axway support for Amplify products has ended for most products related to mobile and cloud.

A few of the open-source versions of Axway Amplify products will live on after Axway Amplify End-of-Life (EOL) announcements. However, all closed-source projects and most open-source projects are now dead.

 

👉    A group of Axway employees, ex-Axway employees, and some developers from Titanium community have created a legal org and now officially decide all matters related to future of these products.

 


API FAQ:

 

Click to watch on Youtube

  ↑ Watch video on YouTube ↑

 

 


 

 

@titanium/webdialog

@titanium/webdialog

Native modules that allows you to use native SFSafariViewController (iOS) and Chrome Pages (Android) with Axway Titanium native mobile apps..

📝 Description

This is a repackaging of the compiled iOS and Android modules for ti.webdialog to allow for installation via npm.

🚀 Getting Started

Install @titanium/webdialog in root of project

npm install @titanium/webdialog

✨Features

  • Includes Titanium native iOS module: ti.webdialog 2.0.0
  • Includes Titanium native Android module: ti.webdialog 2.0.0

API's

Top-Level

const webdialog = require('@titanium/webdialog');

Methods

  • open(arguments)

    • url (String)
    • barColor (String)
    • animated (Boolean, iOS only)
    • entersReaderIfAvailable (Boolean, iOS only)
    • barCollapsingEnabled (Boolean)
    • 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)

Events

  • open -> success (Boolean), url (String)
  • close -> success (Boolean), url (String) - iOS only
  • load -> success (Boolean), url (String) - iOS only
  • redirect -> url (String) - iOS only

AuthenticationSession (iOS only)

Methods

  • createAuthenticationSession(arguments)
    • url (String)
    • scheme (String)

Events

  • callback -> success (Boolean), callbackURL (String)

📚Learn More

📣 Feedback

Have an idea or a comment? Join in the conversation here!

©️ Legal

Modules are licensed under Apache 2.0 from https://github.com/appcelerator-modules/titanium-web-dialog

Alloy is developed by Appcelerator and the community and is Copyright © 2012-Present by Appcelerator, Inc. All Rights Reserved.

Alloy is made available under the Apache Public License, version 2. See their license file for more information.

Appcelerator is a registered trademark of Appcelerator, Inc. Titanium is a registered trademark of Appcelerator, Inc. Please see the LEGAL information about using trademarks, privacy policy, terms of usage and other legal information at http://www.appcelerator.com/legal.