push notifications
This commit is contained in:
parent
b3c59e2cb0
commit
fdc03a6f29
3 changed files with 67 additions and 1 deletions
14
src/js/services/pushNotificationsService.js
Normal file
14
src/js/services/pushNotificationsService.js
Normal 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;
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue