From 0f8f42428868a61fab3ea97ccaef6764efcd6c15 Mon Sep 17 00:00:00 2001 From: TheJoKlLa Date: Tue, 31 Jan 2023 00:46:33 +0100 Subject: [PATCH] Fixed: NFCService --- .../Borepin.Android/Borepin.Android.csproj | 1 - .../Borepin.Android/PlatformInitializer.cs | 3 +- .../Borepin.Android/Services/NFCService.cs | 33 ------------------- Borepin/Borepin.iOS/Borepin.iOS.csproj | 1 - Borepin/Borepin.iOS/PlatformInitializer.cs | 3 +- Borepin/Borepin.iOS/Services/NFCService.cs | 29 ---------------- 6 files changed, 2 insertions(+), 68 deletions(-) delete mode 100644 Borepin/Borepin.Android/Services/NFCService.cs delete mode 100644 Borepin/Borepin.iOS/Services/NFCService.cs diff --git a/Borepin/Borepin.Android/Borepin.Android.csproj b/Borepin/Borepin.Android/Borepin.Android.csproj index 7237065..9b97e58 100644 --- a/Borepin/Borepin.Android/Borepin.Android.csproj +++ b/Borepin/Borepin.Android/Borepin.Android.csproj @@ -82,7 +82,6 @@ - diff --git a/Borepin/Borepin.Android/PlatformInitializer.cs b/Borepin/Borepin.Android/PlatformInitializer.cs index 419f107..c482a3b 100644 --- a/Borepin/Borepin.Android/PlatformInitializer.cs +++ b/Borepin/Borepin.Android/PlatformInitializer.cs @@ -1,7 +1,6 @@ using Borepin.Droid.Services; using Borepin.Service; using Borepin.Service.Browser; -using Borepin.Service.NFC; using Borepin.Service.Storage; using Borepin.Service.Versioning; using Prism; @@ -17,7 +16,7 @@ namespace Borepin.Droid containerRegistry.Register(); containerRegistry.Register(); containerRegistry.Register(); - containerRegistry.Register(); + // TODO containerRegistry.Register(); containerRegistry.RegisterSingleton(); } diff --git a/Borepin/Borepin.Android/Services/NFCService.cs b/Borepin/Borepin.Android/Services/NFCService.cs deleted file mode 100644 index 8fbc343..0000000 --- a/Borepin/Borepin.Android/Services/NFCService.cs +++ /dev/null @@ -1,33 +0,0 @@ -using Android.App; -using Android.Content; -using Android.OS; -using Android.Runtime; -using Android.Views; -using Android.Widget; -using Borepin.Service.NFC; -using NFC.Interfaces; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Borepin.Droid.Services -{ - public class NFCService : INFCService - { - public ICard GetCard() - { - throw new NotImplementedException(); - } - - public IHardware GetHardware() - { - throw new NotImplementedException(); - } - - public IReader GetReader() - { - throw new NotImplementedException(); - } - } -} \ No newline at end of file diff --git a/Borepin/Borepin.iOS/Borepin.iOS.csproj b/Borepin/Borepin.iOS/Borepin.iOS.csproj index 24865a0..ba7a226 100644 --- a/Borepin/Borepin.iOS/Borepin.iOS.csproj +++ b/Borepin/Borepin.iOS/Borepin.iOS.csproj @@ -83,7 +83,6 @@ - diff --git a/Borepin/Borepin.iOS/PlatformInitializer.cs b/Borepin/Borepin.iOS/PlatformInitializer.cs index 8b4c5e8..dc885eb 100644 --- a/Borepin/Borepin.iOS/PlatformInitializer.cs +++ b/Borepin/Borepin.iOS/PlatformInitializer.cs @@ -1,7 +1,6 @@ using Borepin.iOS.Services; using Borepin.Service; using Borepin.Service.Browser; -using Borepin.Service.NFC; using Borepin.Service.Storage; using Borepin.Service.Versioning; using Prism; @@ -17,7 +16,7 @@ namespace Borepin.iOS containerRegistry.Register(); containerRegistry.Register(); containerRegistry.Register(); - containerRegistry.Register(); + // TODO containerRegistry.Register(); containerRegistry.RegisterSingleton(); } diff --git a/Borepin/Borepin.iOS/Services/NFCService.cs b/Borepin/Borepin.iOS/Services/NFCService.cs deleted file mode 100644 index 29f8224..0000000 --- a/Borepin/Borepin.iOS/Services/NFCService.cs +++ /dev/null @@ -1,29 +0,0 @@ -using Borepin.Service.NFC; -using Foundation; -using NFC.Interfaces; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using UIKit; - -namespace Borepin.iOS.Services -{ - public class NFCService : INFCService - { - public ICard GetCard() - { - throw new NotImplementedException(); - } - - public IHardware GetHardware() - { - throw new NotImplementedException(); - } - - public IReader GetReader() - { - throw new NotImplementedException(); - } - } -} \ No newline at end of file