push notifications work now

This commit is contained in:
or-else
2018-09-19 17:52:29 +03:00
parent 72aef53c7e
commit c14a2044cd
4 changed files with 6865 additions and 75 deletions
+1
View File
@@ -63,6 +63,7 @@
"author": "Tinode Authors <info@tinode.co>",
"license": "Apache-2.0",
"dependencies": {
"firebase": "^5.5.0",
"react": "^16.5.1",
"react-dom": "^16.4.2",
"tinode-sdk": "^0.15.6-rc3"
+4
View File
@@ -11,6 +11,10 @@ if (typeof require == 'function') {
var Tinode = require('tinode-sdk');
var Drafty = Tinode.Drafty;
}
if (typeof firebase == 'undefined') {
var firebase = require('firebase/app');
require('firebase/messaging');
}
}
// Name of this application, used in the User-Agent.
+6859 -74
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long