mirror of
https://github.com/bitwarden/mobile.git
synced 2024-09-26 03:42:57 +02:00
2791d4b8ec
* WIP Fixes for iOS push notifications * WIP Fixes for iOS push notifications, fix missed implementation on android * Fix some issues on the push notifications, changed to Debug Console.WriteLine, and added update on entitlements on the build.yml
26 lines
538 B
C#
26 lines
538 B
C#
using System.Threading.Tasks;
|
|
using Bit.App.Abstractions;
|
|
|
|
namespace Bit.App.Services
|
|
{
|
|
public class NoopPushNotificationService : IPushNotificationService
|
|
{
|
|
public bool IsRegisteredForPush => false;
|
|
|
|
public Task<string> GetTokenAsync()
|
|
{
|
|
return Task.FromResult(null as string);
|
|
}
|
|
|
|
public Task RegisterAsync()
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
|
|
public Task UnregisterAsync()
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
}
|
|
}
|