Skip to content
Titanium SDK

ti.webdialog

Use the SFSafariViewController (iOS) and Chrome Pages (Android) in Titanium.

1.1.0AndroidiOSMay 28, 2018Not the current release →

Install

A module is a zip you unpack in your project. There is no installer command yet - a ti module install is planned but does not exist today, so the steps below are the ones that work.

  1. 1. Download the release archive

  2. 2. Unpack it at your project root

    cd /path/to/your-project
    unzip ~/Downloads/ti.webdialog-android-1.1.0.zip
    unzip ~/Downloads/ti.webdialog-iphone-1.1.0.zip

    The archive already contains the full path, so it lands in place:

    • modules/android/ti.webdialog/1.1.0/
    • modules/iphone/ti.webdialog/1.1.0/
  3. 3. Add it to tiapp.xml

    <modules>
      <module platform="android" version="1.1.0">ti.webdialog</module>
      <module platform="iphone" version="1.1.0">ti.webdialog</module>
    </modules>

    The platform attribute is the packager’s name for the platform, which is iphone for iOS - the same word the archive uses in its own path.

  4. 4. Require it from your app

    const mod = require('ti.webdialog');

Manifest

Android 1.1.0

Minimum SDK
7.0.0
Module API version
4
Architectures
arm64-v8a, armeabi-v7a, x86
GUID
1f19cce1-0ad7-4e25-ab3b-0666f54a0a49
Author
Prashant Saini
License
Apache 2.0
Copyright
Copyright (c) 2017 by Axway Appcelerator & Prashant Saini

iOS 1.1.0

Minimum SDK
7.0.0
Module API version
2
Architectures
armv7, arm64, i386, x86_64
GUID
1f19cce1-0ad7-4e25-ab3b-0666f54a0a49
Author
Hans Knoechel
License
Apache 2.0
Copyright
Copyright (c) 2017-present by Axway Appcelerator

API reference

This release was published without compiled API documentation - most were. The module’s current reference covers the same API, though it describes a later version.