Fix android notifications, closes #7

This commit is contained in:
Inex Code 2020-10-09 13:05:31 +00:00
parent d00600ae8a
commit d2d87e561c
2 changed files with 5 additions and 5 deletions

View File

@ -87,4 +87,4 @@ dependencies {
implementation "net.zetetic:android-database-sqlcipher:4.4.0" // needed for moor_ffi w/ sqlcipher
}
//apply plugin: "com.google.gms.google-services"
apply plugin: "com.google.gms.google-services"

View File

@ -23,11 +23,11 @@ abstract class FirebaseController {
static final FlutterLocalNotificationsPlugin
_flutterLocalNotificationsPlugin = FlutterLocalNotificationsPlugin();
static BuildContext context;
static const String CHANNEL_ID = 'fluffychat_push';
static const String CHANNEL_NAME = 'FluffyChat push channel';
static const String CHANNEL_DESCRIPTION = 'Push notifications for FluffyChat';
static const String CHANNEL_ID = 'message';
static const String CHANNEL_NAME = 'FurryChat push channel';
static const String CHANNEL_DESCRIPTION = 'Push notifications for FurryChat';
static const String APP_ID = 'dev.inex.furrychat';
static const String GATEWAY_URL = 'https://janian.de:7023/';
static const String GATEWAY_URL = 'https://push-gateway.inex.dev:443/';
static const String PUSHER_FORMAT = 'event_id_only';
static Future<void> setupFirebase(