Skip to content

Commit

Permalink
feat: add Xcode 14 guards, bump minimum iOS version to 13.0 (#13538)
Browse files Browse the repository at this point in the history
* refactor(ios): remove iOS 13.4 guards (xcode 11.x)

* refactor(ios): remove iOS 14 guards (xcode 12)

* chore: require iOS 13+ and Xcode 12+

* chore: remove outdated os-ver usages of < iOS 12

* chore: remove outdated os-ver usages of < iOS 10

* chore: remove outdated guards

* feat(ios): add iOS 16+ “severity” on alert dialogs

* feat: add new iOS 16+ “autolink” constants
  • Loading branch information
hansemannn committed Sep 11, 2022
1 parent fa604fa commit 0ab0163
Show file tree
Hide file tree
Showing 98 changed files with 287 additions and 761 deletions.
3 changes: 0 additions & 3 deletions apidoc/Titanium/App/App.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,6 @@ events:
summary: Fired by the system when the device's accessibility service is turned on or off.
platforms: [android, iphone, ipad, macos]
since: {android: "3.0.0", iphone: "3.0.0", ipad: "3.0.0", macos: "9.2.0"}
osver:
android:
min: "4.0"
properties:
- name: enabled
summary: Whether accessibility is now enabled or disabled.
Expand Down
3 changes: 0 additions & 3 deletions apidoc/Titanium/App/iOS/SearchQuery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ description: |
the metadata with the SearchableItem object.
extends: Titanium.Proxy
platforms: [iphone,ipad, macos]
osver: {ios: {min: "10.0"}}
since: "5.5.0"
createable: true

Expand All @@ -27,7 +26,6 @@ properties:
description: This parameter cannot be null.
type: String
availability: creation
osver: {ios: {min: "10.0"}}
accessors: false

- name: attributes
Expand All @@ -37,7 +35,6 @@ properties:
the <Titanium.App.iOS.SearchableItemAttributeSet> API. Passing null for this parameter means that the query does not use
attributes to find matching items.
type: Array<String>
osver: {ios: {min: "10.0"}}
accessors: false

methods:
Expand Down
5 changes: 0 additions & 5 deletions apidoc/Titanium/App/iOS/SearchableIndex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ methods:
returns:
type: Boolean
platforms: [iphone, ipad, macos]
osver: {ios: {min: "9.0"}}

- name: addToDefaultSearchableIndex
summary: |
Expand All @@ -32,7 +31,6 @@ methods:
summary: Function to invoke on success or failure of adding the array Titanium.App.iOS.SearchableItem object to the default search index.
type: Callback<Dictionary>
platforms: [iphone, ipad, macos]
osver: {ios: {min: "9.0"}}

- name: deleteAllSearchableItems
summary: |
Expand All @@ -42,7 +40,6 @@ methods:
summary: Function to invoke on success or failure of deleting all search items.
type: Callback<Dictionary>
platforms: [iphone, ipad, macos]
osver: {ios: {min: "9.0"}}

- name: deleteAllSearchableItemByDomainIdenifiers
summary: |
Expand All @@ -55,7 +52,6 @@ methods:
summary: Function to invoke on success or failure of removing search items from the default search index.
type: Callback<Dictionary>
platforms: [iphone, ipad, macos]
osver: {ios: {min: "9.0"}}

- name: deleteSearchableItemsByIdentifiers
summary: |
Expand All @@ -68,7 +64,6 @@ methods:
summary: Function to invoke on success or failure of removing search items from the default search index.
type: Callback<Dictionary>
platforms: [iphone, ipad, macos]
osver: {ios: {min: "9.0"}}
examples:
- title: Add Searchable Content to the On-Device Index
example: |
Expand Down
5 changes: 0 additions & 5 deletions apidoc/Titanium/App/iOS/SearchableItem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ description: |
to the device's search index.
extends: Titanium.Proxy
platforms: [iphone,ipad, macos]
osver: {ios: {min: "9.0"}}
since: "5.0.0"
createable: true
properties:
Expand All @@ -29,12 +28,10 @@ properties:
description: Must be set to create a SearchableItem object.
type: Titanium.App.iOS.SearchableItemAttributeSet
availability: creation
osver: {ios: {min: "9.0"}}
accessors: false
- name: domainIdentifier
summary: Identifier that represents the "domain" or owner of this item.
type: String
osver: {ios: {min: "9.0"}}
- name: expirationDate
summary: Searchable items have an expiration date or time to live. By default it is set to one month.
description: |
Expand All @@ -43,11 +40,9 @@ properties:
The date will be a string in the following format: "yyyy-MM-dd'T'HH:mm:ss.SSS'+0000'"
For example, `2015-12-25T23:30:55.978+0000`
type: String
osver: {ios: {min: "9.0"}}
- name: uniqueIdentifier
summary: Unique identifier to your application group.
type: String
osver: {ios: {min: "9.0"}}
examples:
- title: Add Searchable Content to the On-Device Index
example: |
Expand Down
Loading

0 comments on commit 0ab0163

Please sign in to comment.