You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-9
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,21 @@
1
1
# Titanium Web Dialog
2
2
3
-
Use the native `SFSafariViewController` (iOS) and `Chrome Pages` (Android) within Axway Titanium.
3
+
Use the native `SFSafariViewController` (iOS) and `Chrome Pages` (Android) within Appcelerator Titanium.
4
4
5
5
<imgsrc="./fixtures/example-screens.jpg"width="890"alt="Titanium Web Dialog" />
6
6
7
7
## Requirements
8
8
9
-
- Titanium SDK 7.0.0 or later (or use the [SDK-6-compatibility](https://github.com/appcelerator-modules/titanium-web-dialog/tree/SDK-6-compatibility) Titanium SDK 6.x)
9
+
- Titanium SDK 9.0.0 or later
10
10
- iOS 9+ and Android 4.1+
11
11
12
12
## iOS Note
13
13
14
14
The iOS part of this module is based on Ti.SafariDialog, which has been deprecated for a cross-platform solution. All API's of Ti.SafariDialog
15
15
still work here and have been extended by more features over time.
16
16
17
-
## Android Legacy Support
18
-
19
-
This module is designed to work with the latest platform API's that are covered by the Titanium SDK 7.0.0 and later.
20
-
If you want to use this module in Titanium SDK 6.x, please use the [this version](https://github.com/appcelerator-modules/titanium-web-dialog/raw/SDK-6-compatibility/android/legacy/ti.webdialog-android-1.0.0.zip).
17
+
## Android Note
18
+
In order to use the `close` event on Android it is recommended to have a short delay between `var WebDialog = require('ti.webdialog');` and `WebDialog.open({})`. Otherwise it might not fire the `close` event.
21
19
22
20
## API's
23
21
@@ -38,7 +36,7 @@ If you want to use this module in Titanium SDK 6.x, please use the [this version
38
36
* `fadeTransition` (Boolean, Android only)
39
37
* `enableSharing` (Boolean, Android only) - Enable Share... menu item to share link
40
38
* `closeIcon` (String, Android only) - image path to show as close-button icon
41
-
39
+
42
40
*`isSupported()` -> Boolean
43
41
*`isOpen()` (iOS only) -> Boolean
44
42
*`close()` (iOS only)
@@ -52,7 +50,7 @@ If you want to use this module in Titanium SDK 6.x, please use the [this version
52
50
#### Events
53
51
54
52
*`open` -> `success` (Boolean), `url` (String)
55
-
*`close` -> `success` (Boolean), `url` (String) - iOS only
53
+
*`close` -> `success` (Boolean), `url` (String)
56
54
*`load` -> `success` (Boolean), `url` (String) - iOS only
57
55
*`redirect` -> `url` (String) - iOS only
58
56
@@ -62,7 +60,7 @@ If you want to use this module in Titanium SDK 6.x, please use the [this version
0 commit comments