Type Function Return value none Revision Release 2025.3714 Keywords notification, notifications, registerForPushNotifications See also Local/Push Notifications (guide) notifications.scheduleNotification() notifications.*
Register for push notifications on iOS. This will show the popup which asks the user if they want to enable push notifications. After the first call, subsequent calls will not show the popup again.
This function does nothing on Android.
notifications.registerForPushNotifications()
local notifications = require( "plugin.notifications" ) notifications.registerForPushNotifications()