push notifications work now
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user