N
Novu6mo ago
Kh. M-S.

Remove message on ios

The question is about "Remove message" in-app notifications. On Windows this function works well. But on iPhones and Macbooks this function does not work properly. Some time it works, some time it does not work. I get new notifications and everything works fine except this "Remove message" function. I use default settings of novu notification center without my custom styles. Did someone face the same issue and how did you solve it?
12 Replies
Ask Inkeep
Ask Inkeep6mo ago
Hi @Kh. M-S., I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question. ----------------------------- While I generate an answer, here are some sources that might be helpful: * Inbox * How to send PUSH notifications to iOS devices with FCM using Novu * [NV-1902] Feature: Automatically delete old messages * Can we have a removeAllNotifications function? ----------------------------- Answer Based on the information available in the provided sources, I don't have a direct answer to your specific issue with the "Remove message" function on iOS devices. However, I can provide some relevant information and suggestions: 1. The ability to remove messages from the notification center is a feature that has been discussed and implemented in Novu (1) . However, the sources don't specifically mention any iOS-specific issues. 2. There have been discussions about deleting notifications and messages in Novu. For instance, an API endpoint for removing messages has been added . This suggests that the functionality should be available, but it might not be working as expected on iOS devices in your case. 3. Some users have reported issues with notifications not disappearing immediately after deletion, requiring the notification center to be closed and reopened . While this was in a different context, it might be related to the inconsistency you're experiencing. 4. As of the latest available information, Novu doesn't automatically remove stale tokens for push notifications (2) . While this isn't directly related to your issue, it could potentially affect the behavior of notifications on iOS devices. Given that you're experiencing inconsistent behavior specifically on iOS devices, and the available information doesn't directly address this issue, I suggest you click on the "Ask for help" button to tag a team member to review your question. They might have more recent or specific information about iOS-related issues with the "Remove message" function. In the meantime, you could try the following: 1. Ensure you're using the latest version of Novu and its components. 2. Check if there are any iOS-specific settings
Ask Inkeep
Ask Inkeep6mo ago
or configurations that might affect the notification behavior. 3. Monitor the Novu GitHub repository for any related issues or updates.
Ask Inkeep
Ask Inkeep6mo ago
Feel free to tag @Ask Inkeep with additional questions. Got it. Tagging @Support for additional help.
Pawan Jain
Pawan Jain6mo ago
@Kh. M-S. I have been using in-app notification center on macos device with chrome, firefox and safari browser. Its working fine for me Would you like to share steps to reproduce or some screen recording?
Kh. M-S.
Kh. M-S.OP6mo ago
@Pawan Jain 1) npx create-next-app@latest 2) then just clean up default page content and install novu notification center On Catalina when I press Bell I get this error
Kh. M-S.
Kh. M-S.OP6mo ago
Kh. M-S.
Kh. M-S.OP6mo ago
Error: TypeError: undefined is not a constructor (evaluating 'new Intl.RelativeTimeFormat(locale, { numeric: 'auto' })') On BigSur "Remove message" some time works and some time does not work (video bellow)
Kh. M-S.
Kh. M-S.OP6mo ago
Kh. M-S.
Kh. M-S.OP6mo ago
I test it with Safari I use online service to test on different devices. Maybe there is no problem on the real device. But I can not test it on real device @Pawan Jain The same behavior also on Sonoma (as on BigSur) @Pawan Jain The problem onCatalina with Safari is solved using polyfill npm install intl-relative-time-format Now there are two problems: 1) messages are either deleted or not deleted 2) on Catalina with Chrome I get this error when started the page
Kh. M-S.
Kh. M-S.OP6mo ago
No description
Kh. M-S.
Kh. M-S.OP6mo ago
@Pawan Jain About the first problem. I test on real device and I can delete messages properly. So the problem was with the service I used for testing. It was surprise because it is not free service. About second problem. During several days I will can test on real Catalina. I will let know
Pawan Jain
Pawan Jain6mo ago
@Kh. M-S. Thanks for the update. I agree, there can be issue with testing service where it does not mimic the actual real device Feel free to ping us if you see any issue with real devices
Want results from more Discord servers?
Add your server