This is a migrated thread and some comments may be shown as answers.

Local Notifications With Background Refresh

1 Answer 172 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bruce
Top achievements
Rank 1
Bruce asked on 15 Jan 2014, 04:27 AM
Hello,
I love the work you guys do! I am working on a project that will soon debut in Johns Hopkins Medicine if I can get past this one major hurdle. I beg you for your insight.

On this page:
http://docs.everlive.com/features/push-notifications/introduction

It mentions: "As an alternative it is possible to set up a background service that pulls data from the live services, but this will drain more battery and will incur additional traffic."

Can someone please provide an example of this? What I'm looking for is to use background services to regularly poll a db and use LOCAL notifications to vibrate and display an alert on the users device if the data changes. The notification must work regardless of whether or not the app is open (obviously that's the point of the background service), and should be as cross platform as possible.

I know this idea is not unheard of. It looks like the ShopYourWay (Sears/Kmart) IOS app uses something similar (see attachments). I'm guessing the GMail IOS app does something like this too, as its notifications (while closed) include unique sounds and behaviors, different from the standard push notification.

I have not yet paid for an Apple developer license so please note if your proposed solution will work in the graphite simulator. I anxiously await your response.

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 20 Jan 2014, 11:34 AM
Hi Bruce,

Such functionality is not available out of the box in Cordova and you would have to use a custom Cordova plugin. Take a look at the following forum thread for more information.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Tags
General Discussion
Asked by
Bruce
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or