Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
UNNotification.NotificationSettings
Checks notification settings.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| UNNotification | 7.2 | Yes | No | No | No | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| Selector | What value to return or what action to do. | "authorizationStatus" |
Result
Returns value or error.
Description
Checks notification settings.You can pass "update" to query new settings. This may be needed to know about changes the user may have made.
Pass "AuthorizationStatus" to get authorization status. Can be NotDetermined, Denied and Authorized.
Pass "alertStyle" to query alert style. Can be None, Banner or Alert.
Pass "soundSetting", "badgeSetting", "alertSetting", "notificationCenterSetting", "lockScreenSetting" or "carPlaySetting" to query settings. Can be NotSupported, Disabled or Enabled.
For MBS Plugin 9.1 or newer, you can also pass providesAppNotificationSettings (1 or 0), showPreviewsSetting (Always, WhenAuthenticated, Never) and criticalAlertSetting (NotSupported, Disabled, Enabled) to query those.
Examples
Query authorization status:
MBS( "UNNotification.NotificationSettings"; "AuthorizationStatus" )
Query alert style:
MBS( "UNNotification.NotificationSettings"; "alertStyle" )
Request update to settings:
MBS( "UNNotification.NotificationSettings"; "Update" )
Query sound setting:
MBS("UNNotification.NotificationSettings"; "soundSetting")
Query badge setting:
MBS("UNNotification.NotificationSettings"; "badgeSetting")
Query alert setting:
MBS("UNNotification.NotificationSettings"; "alertSetting")
Query notification center setting:
MBS("UNNotification.NotificationSettings"; "notificationCenterSetting")
Query lock screen setting:
MBS("UNNotification.NotificationSettings"; "lockScreenSetting")
Query car play setting:
MBS("UNNotification.NotificationSettings"; "carPlaySetting")
Blog Entries
- MBS FileMaker Plugin, version 9.1pr1
- Push Notifications for FileMaker iOS SDK
- Remote Notifications for FileMaker iOS SDK
Release notes
- Version 9.1
- Added providesAppNotificationSettings, showPreviewsSetting and criticalAlertSetting for UNNotification.NotificationSettings function.
Created 15th April 2017, last changed 25th January 2019
UNNotification.NextTriggerDate - UNNotification.PendingNotificationRequests
Feedback: Report problem or ask question.
Links
MBS Xojo blog