Skip to content

Commit

Permalink
docs: add info about iOS foreground notifications (#13956)
Browse files Browse the repository at this point in the history
* docs: add info about iOS foreground notifications

* update docs
  • Loading branch information
m1ga authored Jan 30, 2024
1 parent bd5c5e7 commit 4e5ca53
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion apidoc/Titanium/App/iOS/UserNotificationCenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ properties:

- name: userInfo
summary: Custom data object.
type: Dictionary
type: UserInfoDictionary

- name: category
summary: Category identifier of the notification.
Expand All @@ -160,6 +160,19 @@ properties:
- identifier: The identifier of the region.
type: Dictionary

---
name: UserInfoDictionary
summary: |
Dictionary object of parameters.
platforms: [iphone, ipad, macos]

properties:
- name: showInForground
summary: Show notification if app is in foreground
description: |
Boolean if a notification banner is shown if the app is in foreground.
type: Number

---
name: GetUserNotificationSettings
summary: |
Expand Down

0 comments on commit 4e5ca53

Please sign in to comment.