No sound for web push in MacOS - macos

Is it even possible to play sounds for web push notifications?
For Chrome I was able to handle notificationDisplay event and manually play sound. However this event is not supported in Safari.
Nothing mentioned in official documentation at https://documentation.onesignal.com/docs/customize-notification-sounds
In Apple's documentation some Push Package was mentioned. However it's not clear where to put sounds.

It does not seem like web push notifications support sound at the moment. If any sounds do play, they would be due to the settings you might have on, for example, your Mac computer when you receive a notification, or your Android phone if it's set to buzz when you receive a notification.
Sound for web push notifications is in development though. For more information, you can follow these links:
Chrome Thread: https://bugs.chromium.org/p/chromium/issues/detail?id=442131
Firefox Thread: https://bugzilla.mozilla.org/show_bug.cgi?id=1105222

Related

Does Microsoft Edge on iPad support push notifications?

I did some research regarding the question if you can somehow send push notifications from a website on an iPad.
Now I'm asking myself, if this is just a Safari specific thing or a iOS/ iPadOS problem - I just can't find any specific information.

Push FCM Xamarin like WhatsApp background

I have a problem on Devices Xiaomi and Lenovo Phones, when i close app from task manager they stop receive GCM messages, the gcm messages receive only at foreground and app on task manager list. How do i to keep app or service running on close at task manager? Obs: samsung phones keep as well on both cases.
As stated in this thread, Lenovo mobiles are using Background task killer to stop background apps. To hide task killer, untick restrict in application menu.
Also, as mentioned by #AL. in this post, it may very well be possible that when an app is stopped from multi-task tray in that device, it is actually killing the app, causing the services and other background processes associated with it to also be destroyed. Suggested action is to make use of the START_STICKY flag.
Another reference which might help.
In Xiaomi phones, they whitelist or blacklist an app based on certain criteria. If you download an app and if it is in their whitelist, they'll permit the app to show notifications. If not, you already know what happens. But the good thing is that you can change these settings. Look for an app named Security. If you revoke the right permissions, even WhatsApp will stop showing notifications.

Is it possible to implement dynamic notifications on Apple Watch without a launchable app?

I've designed a custom notification for an app I'm working on for Apple Watch. The notifications look good but because of the current technical limitations I don't want to build a launchable app or glance until I have mic and speaker access. Is it possible to display dynamic notifications without having an app icon on the home screen of the watch or is the watch app mandatory to have a dynamic notification at all?
No, you will need to add a dynamic Notification scene in your Watch app.
If you want to read more information about this I'd refer you to this page:
https://developer.apple.com/library/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/CustomzingthePushNotificationInterface.html#//apple_ref/doc/uid/TP40014969-CH6-SW1

How to create a desktop notifications for your web application?

I've tried searching and surprisingly I couldn't find anything on this. I have seen a few web apps that have desktop applications. For instance in gmail you can go into the settings and enable desktop notifications and get an alert even if you don't have the browser open at all. Also, there is an app called "slack" that I have been playing around with and I somehow got desktop notifications enabled. Also, google hangouts gives me notifications every once in a while. I don't know if this is a google chrome thing, or if it is a mac specific thing. Does anyone have any idea how these apps are posting these notifications?
Is it a browser specific thing? A platform specific thing? Did I download some type of desktop app that I have forgotten about that is enabling these apps to do this? Has anyone else created a desktop alert for their web app and how did you do it?
A similar question asked -
Chrome Desktop Notification.
From a front-end standpoint, there is EventSource for this, though you could also use websockets or polling (checking every few minutes/seconds).
Event Source and Server-Sent Events.

windows phone push notification on tiles

i would like the app that i have created on wp7 to display alerts on the live tiles. I was going to use push notifications to do this. So, whenever there is an alert, the app will produce a push notification and then the live tile would display the push notification alert. I have tried to find sample codes on msdn and i have not found much. Does anyone know any code sample for wp7 that would help.thank you!
MSDN has extensive howto articles and sample code; there is even a How to: Send and Receive Tile Notifications for Windows Phone which sounds like it should do what you need.
This may be of help to you: Windows Phone 7 notifications. I went to a Windows Phone camp and came away feeling that there are, in fact, very distinct notifications and you have to make sure you're working with the right type for the right job. That link covers the types and their purposes, but did want to give you a heads up on that.

Resources