Looking for background services


#1

Hi there!

I am working on an android (later + ios) app for our project and would like to do localNotifications from a background service checking a heartbeat on the api (push notifications basicly).

I have found this but it seems not to fly on cordova 3.4.1-0.1.0. I cannot imagine that I am inventing the wheel here; who here has a clue as to what I should be looking for on google/stackoverflow/this-forum to get me going on this within ionic.

TIA!


#2

This here maybe?
http://ngcordova.com/docs/
@ $cordovaPush


#3

I am looking in to that now, the only thing that is beyond me is how to connect a notification to your $scope - but I am trial-error-ing my way in there. Will keep you posted if I find something usable :slight_smile:


#4

I have something that is working, but a very vague bug when it comes to local notifications. See my stackoverflow question