You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix for: remoteNotificationReceived is not a supported event type for RCTAzureNotificationHubManager #166
I have found a little bug, not 100% sure if it's a configuration problem or a general iOS issue. I believe it's a single letter typo - remoteNotificationReceived is expected to have a capital R in front.
TL;DR - in node_modules/react-native-azurenotificationhub/ios/AzureNotificationHubIOS.js:25 -
change remoteNotificationReceived to RemoteNotificationReceived
--
Environment
Platforms: iOS
Issues and Steps to Reproduce
When executing:
NotificationHub.addEventListener('notification', this._onRemoteNotification);
the app crashes.
Expected Behavior
Register for notifications.
Actual Behavior
remoteNotificationReceived is not a supported event type for RCTAzureNotificationHubManager. Supported events are: localNotificationReceived, RemoteNotificationReceived, remoteNotificationRegistered, remoteNotificationRegisteredError, azureNotificationHubRegistered, azureNotificationHubRegisteredError
Activity
roycwc commentedon Sep 14, 2020
#159
possible name collision with
in
rlsbelmiro commentedon Dec 7, 2020
Hello, any update about this problem?
prasadmaduranga commentedon Dec 17, 2021
Got the same issue here. Any updates?