diff --git a/README.md b/README.md index 7f05aff..44a90b2 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ Use the native `SFSafariViewController` (iOS) and `Chrome Pages` (Android) withi ## Requirements -- Titanium SDK 9.0.0 or later -- iOS 9+ and Android 4.1+ +- Titanium SDK 12 or later +- iOS 15+ / Android 5+ ## iOS Note diff --git a/apidoc/AuthenticationSession.yml b/apidoc/AuthenticationSession.yml index a6557f7..6c997a4 100644 --- a/apidoc/AuthenticationSession.yml +++ b/apidoc/AuthenticationSession.yml @@ -4,7 +4,7 @@ summary: Authenticate a user with a web service, even if the web service is run platforms: [iphone, ipad] since: "7.1.0" extends: Titanium.Proxy -osver: { ios: { min: "11.0" } } +osver: { ios: { min: "15.0" } } description: | The `AuthenticationSession` puts the user in control of whether they want to use their existing logged-in session from Safari. The app provides a URL that points @@ -32,8 +32,8 @@ description: | ### Requirements The AuthenticationSession API is available with the Titanium SDK starting with Release 7.1.0. - This module only works with devices running iOS 11.0 and later. - Please make sure you have at least Xcode 9 to build to the required sources. + This module only works with devices running iOS 15 and later. + Please make sure you have at least Xcode 13 to build to the required sources. ### Getting Started @@ -104,7 +104,7 @@ name: AuthenticationSessionCallback summary: The callback which is called when the session is completed successfully or canceled by user. properties: - name: callbackURL - summary: The callback-url passed if no error occured, undefined otherwise. + summary: The callback-url passed if no error occurred, undefined otherwise. type: String - name: error diff --git a/apidoc/WebDialog.yml b/apidoc/WebDialog.yml index e0efe9d..cb41ae2 100644 --- a/apidoc/WebDialog.yml +++ b/apidoc/WebDialog.yml @@ -4,7 +4,7 @@ summary: Allows a Titanium application to use the Safari Controller (iOS) and Ch platforms: [iphone, ipad, android] since: "7.1.0" extends: Titanium.Module -osver: { ios: { min: "9.0" }, android: { min: "4.1" } } +osver: { ios: { min: "15.0" }, android: { min: "5.0" } } description: | The WebDialog module provides Titanium access to the native `SFSafariViewController` (iOS) and `ChromeTabs` (Android). This enables you to deliver interactive web content in your app just like the built-in browser, including the native UI elements already @@ -13,8 +13,8 @@ description: | ### Requirements The WebDialog module is available with the Titanium SDK starting with Release 7.1.0. - This module only works with devices running iOS 9 / Android 4.1 and later. - Please make sure you have at least Xcode 7 to build to the required iOS sources. + This module only works with devices running iOS 15 / Android 5 and later. + Please make sure you have at least Xcode 13 to build to the required iOS sources. ### Getting Started @@ -156,7 +156,7 @@ events: --- name: WebDialogOpenParams -summary: Parameters used in the method +summary: Parameters used in the method. properties: - name: url summary: The URL to be opened. @@ -200,7 +200,7 @@ properties: platforms: [iphone, ipad, android] - name: intentFlags - summary: Intent flags to be used for the Chrome Custom Tab, specified as a Bitwise-OR + summary: Intent flags to be used for the Chrome Custom Tab, specified as a bitwise OR. optional: true type: Number constants: Titanium.Android.FLAG_* diff --git a/example/app.js b/example/app.js index c2e1f44..b8e261b 100644 --- a/example/app.js +++ b/example/app.js @@ -13,7 +13,6 @@ win.add(btnOpenDialog); btnOpenDialog.addEventListener('click', function () { WebDialog.open({ url: 'https://tidev.io/', - title: 'Hello World', // iOS 10+ tintColor: 'red',