About the new native notification library for mobile apps...

Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
User avatar
Caronte3D
Posts: 192
Joined: Sat Nov 23, 2019 5:21 pm
Location: Some Universe

About the new native notification library for mobile apps...

Post by Caronte3D »

Whould be awesome if we can run processes in background to make that notification library more useful.
I think already exists a cordova plugin for that, but I don't tested.
Fred
Site Admin
Posts: 1853
Joined: Mon Feb 24, 2014 10:51 am

Re: About the new native notification library for mobile apps...

Post by Fred »

Notifications will be displayed even if you app is not running if that's what you mean
User avatar
Caronte3D
Posts: 192
Joined: Sat Nov 23, 2019 5:21 pm
Location: Some Universe

Re: About the new native notification library for mobile apps...

Post by Caronte3D »

I know, the notification can show even with the app closed, but on this case you are limited a notifications created when the app is running (timed notifications).
I mean (in example) a notification that is shown when a background process trigger something (not time) like an update for the app, an incoming message of a chat app, and so on...
Fred
Site Admin
Posts: 1853
Joined: Mon Feb 24, 2014 10:51 am

Re: About the new native notification library for mobile apps...

Post by Fred »

These are push notification, it's not the same
User avatar
Caronte3D
Posts: 192
Joined: Sat Nov 23, 2019 5:21 pm
Location: Some Universe

Re: About the new native notification library for mobile apps...

Post by Caronte3D »

Oops! you are right! :oops: :D
Quin
Posts: 118
Joined: Wed Nov 08, 2023 4:38 pm

Re: About the new native notification library for mobile apps...

Post by Quin »

I know this lib was targeted mostly at mobile apps, as was the MobileUI library, but modern browsers have notifications support too. Is it possible we'll see that get intigrated into this lib at some point too, for cross-platform notifications?
Fred
Site Admin
Posts: 1853
Joined: Mon Feb 24, 2014 10:51 am

Re: About the new native notification library for mobile apps...

Post by Fred »

Notifications seems to be a dead thing on browser, in firefox even their example here https://developer.mozilla.org/en-US/doc ... ations_API requiers to change an hidden setting to allow notification. I didn't seen one for like years now
Quin
Posts: 118
Joined: Wed Nov 08, 2023 4:38 pm

Re: About the new native notification library for mobile apps...

Post by Quin »

Hahaha, good to know. Frankly that's probably a good thing, the only website I ever had send me any sort of useful notifications was YouTube, everything else uses it to spam you and/or send fake virus warnings, because Chrome formatted its notifications to look like they came from the OS, not Chrome :mrgreen: :twisted:
Webarion
Posts: 13
Joined: Mon Mar 04, 2024 10:47 pm

Re: About the new native notification library for mobile apps...

Post by Webarion »

Fred wrote: Wed Jun 11, 2025 1:12 pm Notifications seems to be a dead thing on browser, in firefox even their example here https://developer.mozilla.org/en-US/doc ... ations_API requiers to change an hidden setting to allow notification. I didn't seen one for like years now
According to the documentation, it states: Supported OS: All.
However, this functionality does not work for web applications. The Notification library appears to be similar to a Cordova plugin. Please update the documentation to clarify that it is not compatible with web browsers.
Alternatively, do you have plans to support web applications in the future?
Fred
Site Admin
Posts: 1853
Joined: Mon Feb 24, 2014 10:51 am

Re: About the new native notification library for mobile apps...

Post by Fred »

True, I will update the doc. As said above, it's seems like not supported anymore for browsers
Post Reply