push notifications

This commit is contained in:
Gabriel Bazán 2015-12-23 12:29:46 -03:00
commit fdc03a6f29
3 changed files with 67 additions and 1 deletions

View file

@ -0,0 +1,14 @@
'use strict';
angular.module('copayApp.services')
.factory('pushNotificationsService', function($http) {
var root = {};
//"APA91bHCysW7fzE_ks5HPOu2BGr0G7T-aD5SPfzaSGIKuhp82gFUcopVPPck8EfnxgHyK_3QJ9FdFS8H2mjAILDv3jdrH6slJzmCwoszya9XdJz4Uv-cxkLDYXb7z086TD3uPgSLnMUO"
root.subscribe = function(opts) {
return $http.post('http://192.168.1.120:8000/subscribe', opts);
}
return root;
});