Skip to content

Use ORNotificationHandler for push notifications - #46

Draft
Miggets7 wants to merge 1 commit into
mainfrom
fix/or-notification-handler
Draft

Miggets7 wants to merge 1 commit into
mainfrom
fix/or-notification-handler

Conversation

@Miggets7

Copy link
Copy Markdown
Contributor

Depends on openremote/console-ios-lib#40. Draft until that is released, because the ORLib minimum version in the project still has to be bumped to that release.

Changes

Testing

Builds against the console-ios-lib branch from #40. Not tested on a device yet.

Before merge

Bump the console-ios-lib package requirement to the release containing #40.

The notification and Firebase messaging handling now lives in ORLib
(console-ios-lib#21). Forwarding the FCM token to ORLib also fixes the
token not reaching the backend until the app is restarted
(console-ios-lib#39).

Firebase is now configured on every launch. It used to be skipped when
the app was started in the background by a location update or a remote
notification, so such a process never received an FCM token and set
the APNs token on an unconfigured Firebase instance.

The removed didRefreshRegistrationToken is no longer part of the
Firebase MessagingDelegate protocol and was never called.
@sonarqubecloud

Copy link
Copy Markdown

@Miggets7 Miggets7 self-assigned this Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant