fdroid config profile

This commit is contained in:
Kyle Spearrin
2019-05-28 13:50:01 -04:00
parent e1f6302280
commit cd8a09ddef
9 changed files with 95 additions and 2 deletions

View File

@@ -79,8 +79,10 @@ namespace Bit.Droid
// Push
#if FDROID
container.RegisterSingleton<IPushNotificationListener, NoopPushNotificationListener>();
container.RegisterSingleton<IPushNotificationService, NoopPushNotificationService>();
ServiceContainer.Register<IPushNotificationListenerService>(
"pushNotificationListenerService", new NoopPushNotificationListenerService());
ServiceContainer.Register<IPushNotificationService>(
"pushNotificationService", new NoopPushNotificationService());
#else
var notificationListenerService = new PushNotificationListenerService();
ServiceContainer.Register<IPushNotificationListenerService>(