UNNotification.IsRegisteredForRemoteNotifications
-------------------------------------------------

Checks whether we can get remote notifications.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [UNNotification](component_UNNotification.md) | [7.2](newinversion72.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "UNNotification.IsRegisteredForRemoteNotifications" ) ### Parameters

none

### Result

Returns 1, 0 or error.

### Description

Checks whether we can get remote notifications.  
Returns 1 if the application is currently registered for remote notifications, taking into account any systemwide settings; doesn't relate to connectivity.  
### Examples

Check registration state:

 Show Custom Dialog \["Check registration state"; MBS ( "UNNotification.IsRegisteredForRemoteNotifications" )\]  
### Release notes

- **Version 10.5**
    - Fixed main thread warning for [UNNotification.IsRegisteredForRemoteNotifications](https://www.mbsplugins.eu/UNNotificationIsRegisteredForRemoteNotifications.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin, version 10.5pr1](https://www.mbsplugins.de/archive/2020-10-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [Push Notifications for FileMaker iOS SDK](https://www.mbsplugins.de/archive/2017-07-25/Push_Notifications_for_FileMak/monkeybreadsoftware_blog_filemaker)
- [Remote Notifications for FileMaker iOS SDK](https://www.mbsplugins.de/archive/2017-06-07/Remote_Notifications_for_FileM/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 15th April 2017 , last changed 17th April 2017

  
[UNNotification.Identifier](UNNotificationIdentifier.md) - [UNNotification.LaunchImageName](UNNotificationLaunchImageName.md)

[HTML Version](UNNotificationIsRegisteredForRemoteNotifications.shtml)