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
+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.