Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread Notifications.
Fri, Jun 30 2017 5:56 PMPermanent Link

Steve Gill

Avatar

Hi Tim,

Some websites can send notifications using the browser's Notifications API if the user gives permission.  I'm thinking this would be great for web apps for mobile devices so that users can be updated when something changes (eg. receive a message).

Is this possible with EWB?

= Steve
Mon, Jul 3 2017 4:38 AMPermanent Link

Matthew Jones

Steve Gill wrote:

> Some websites can send notifications using the browser's Notifications API if the user gives permission.  I'm thinking this would be great for web apps for mobile devices so that users can be updated when something changes (eg. receive a message).
>
> Is this possible with EWB?

If it is possible with Javascript, it is possible with EWB. Finding the core mechanism is the key - do you know how browser notifications work?

--

Matthew Jones
Mon, Jul 3 2017 11:05 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Steve,

<< Some websites can send notifications using the browser's Notifications API if the user gives permission.  I'm thinking this would be great for web apps for mobile devices so that users can be updated when something changes (eg. receive a message).

Is this possible with EWB? >>

As Matthew indicated, if it's possible in JavaScript, then you can do it in EWB.  It's just a matter of implementing the external interface for the browser API and then creating some wrapper components.

However, the notifications API is a definite no-IE API, so it won't be usable for anyone that is using IE as their browser, including IE11.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Jul 3 2017 7:49 PMPermanent Link

Steve Gill

Avatar

<< As Matthew indicated, if it's possible in JavaScript, then you can do it in EWB.  It's just a matter of implementing the external interface for the browser API and then creating some wrapper components.

However, the notifications API is a definite no-IE API, so it won't be usable for anyone that is using IE as their browser, including IE11.  >>

Thanks Tim and Matthew.  I must admit I haven't spent much time looking at it so I don't know what's involved yet.  I thought I'd ask here first before going too deep into it.

IE is not a problem - it just means the user won't get notifications unless they use a different browser.

= Steve
Wed, Jul 5 2017 3:03 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Steve,

<< IE is not a problem - it just means the user won't get notifications unless they use a different browser. >>

Absolutely.  I was just explaining why it isn't in EWB yet.  I try to keep the provided functionality in EWB within the boundaries of all targeted browsers and avoid "works here but not here" type of functionality.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Jul 5 2017 5:43 PMPermanent Link

Steve Gill

Avatar

<< Absolutely.  I was just explaining why it isn't in EWB yet.  I try to keep the provided functionality in EWB within the boundaries of all targeted browsers and avoid "works here but not here" type of functionality. >>

Thanks Tim. That's completely understandable.

= Steve
Image