From 4951fc0c7a845deb5afcee35fae676483b5680cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Szab=C3=B3?= Date: Sat, 5 Apr 2025 12:50:57 +0200 Subject: [PATCH] =?UTF-8?q?Kis=20tisztogat=C3=A1s,=20de=20fordul.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Platforms/Android/AndroidManifest.xml | 24 +++++---- .../Platforms/Android/google-services.json | 29 +++++++++++ .../Platforms/MacCatalyst/AppDelegate.cs | 10 ---- .../Platforms/MacCatalyst/Entitlements.plist | 14 ----- .../Platforms/MacCatalyst/Info.plist | 38 -------------- .../Platforms/MacCatalyst/Program.cs | 16 ------ .../Platforms/Tizen/Main.cs | 17 ------- .../Platforms/Tizen/tizen-manifest.xml | 15 ------ .../Platforms/Windows/App.xaml | 8 --- .../Platforms/Windows/App.xaml.cs | 25 --------- .../Platforms/Windows/Package.appxmanifest | 46 ----------------- .../Platforms/Windows/app.manifest | 15 ------ .../Platforms/iOS/AppDelegate.cs | 10 ---- .../Platforms/iOS/Info.plist | 32 ------------ .../Platforms/iOS/Program.cs | 16 ------ .../iOS/Resources/PrivacyInfo.xcprivacy | 51 ------------------- .../Services/SyncService.cs | 5 +- .../WorkFlowCheck.MAUI.csproj | 11 ++-- 18 files changed, 49 insertions(+), 333 deletions(-) create mode 100644 src/WorkFlowCheck.MAUI/Platforms/Android/google-services.json delete mode 100644 src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/AppDelegate.cs delete mode 100644 src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/Entitlements.plist delete mode 100644 src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/Info.plist delete mode 100644 src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/Program.cs delete mode 100644 src/WorkFlowCheck.MAUI/Platforms/Tizen/Main.cs delete mode 100644 src/WorkFlowCheck.MAUI/Platforms/Tizen/tizen-manifest.xml delete mode 100644 src/WorkFlowCheck.MAUI/Platforms/Windows/App.xaml delete mode 100644 src/WorkFlowCheck.MAUI/Platforms/Windows/App.xaml.cs delete mode 100644 src/WorkFlowCheck.MAUI/Platforms/Windows/Package.appxmanifest delete mode 100644 src/WorkFlowCheck.MAUI/Platforms/Windows/app.manifest delete mode 100644 src/WorkFlowCheck.MAUI/Platforms/iOS/AppDelegate.cs delete mode 100644 src/WorkFlowCheck.MAUI/Platforms/iOS/Info.plist delete mode 100644 src/WorkFlowCheck.MAUI/Platforms/iOS/Program.cs delete mode 100644 src/WorkFlowCheck.MAUI/Platforms/iOS/Resources/PrivacyInfo.xcprivacy diff --git a/src/WorkFlowCheck.MAUI/Platforms/Android/AndroidManifest.xml b/src/WorkFlowCheck.MAUI/Platforms/Android/AndroidManifest.xml index bb6b01c..c2ad4f0 100644 --- a/src/WorkFlowCheck.MAUI/Platforms/Android/AndroidManifest.xml +++ b/src/WorkFlowCheck.MAUI/Platforms/Android/AndroidManifest.xml @@ -1,14 +1,18 @@  - - + + + + - - - - - - - - + + + + + + \ No newline at end of file diff --git a/src/WorkFlowCheck.MAUI/Platforms/Android/google-services.json b/src/WorkFlowCheck.MAUI/Platforms/Android/google-services.json new file mode 100644 index 0000000..10c25a0 --- /dev/null +++ b/src/WorkFlowCheck.MAUI/Platforms/Android/google-services.json @@ -0,0 +1,29 @@ +{ + "project_info": { + "project_number": "39344328297", + "project_id": "com-nuvolar-wfcapp", + "storage_bucket": "com-nuvolar-wfcapp.firebasestorage.app" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:39344328297:android:76fa7423c4e14b5ed99cf8", + "android_client_info": { + "package_name": "com.nuvolar.wfcapp" + } + }, + "oauth_client": [], + "api_key": [ + { + "current_key": "AIzaSyBQrxSo2C6-kBxmFp5a1s_Pn6oDipHzVJk" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/AppDelegate.cs b/src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/AppDelegate.cs deleted file mode 100644 index ffd9e8b..0000000 --- a/src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/AppDelegate.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Foundation; - -namespace WorkFlowCheck.MAUI -{ - [Register("AppDelegate")] - public class AppDelegate : MauiUIApplicationDelegate - { - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); - } -} diff --git a/src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/Entitlements.plist b/src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/Entitlements.plist deleted file mode 100644 index de4adc9..0000000 --- a/src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/Entitlements.plist +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - com.apple.security.app-sandbox - - - com.apple.security.network.client - - - - diff --git a/src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/Info.plist b/src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/Info.plist deleted file mode 100644 index 7268977..0000000 --- a/src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/Info.plist +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - UIDeviceFamily - - 2 - - UIRequiredDeviceCapabilities - - arm64 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - XSAppIconAssets - Assets.xcassets/appicon.appiconset - - diff --git a/src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/Program.cs b/src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/Program.cs deleted file mode 100644 index a5933d6..0000000 --- a/src/WorkFlowCheck.MAUI/Platforms/MacCatalyst/Program.cs +++ /dev/null @@ -1,16 +0,0 @@ -using ObjCRuntime; -using UIKit; - -namespace WorkFlowCheck.MAUI -{ - public class Program - { - // This is the main entry point of the application. - static void Main(string[] args) - { - // if you want to use a different Application Delegate class from "AppDelegate" - // you can specify it here. - UIApplication.Main(args, null, typeof(AppDelegate)); - } - } -} diff --git a/src/WorkFlowCheck.MAUI/Platforms/Tizen/Main.cs b/src/WorkFlowCheck.MAUI/Platforms/Tizen/Main.cs deleted file mode 100644 index 05f233f..0000000 --- a/src/WorkFlowCheck.MAUI/Platforms/Tizen/Main.cs +++ /dev/null @@ -1,17 +0,0 @@ -using Microsoft.Maui; -using Microsoft.Maui.Hosting; -using System; - -namespace WorkFlowCheck.MAUI -{ - internal class Program : MauiApplication - { - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); - - static void Main(string[] args) - { - var app = new Program(); - app.Run(args); - } - } -} diff --git a/src/WorkFlowCheck.MAUI/Platforms/Tizen/tizen-manifest.xml b/src/WorkFlowCheck.MAUI/Platforms/Tizen/tizen-manifest.xml deleted file mode 100644 index 9d82e83..0000000 --- a/src/WorkFlowCheck.MAUI/Platforms/Tizen/tizen-manifest.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - maui-appicon-placeholder - - - - - http://tizen.org/privilege/internet - - - - \ No newline at end of file diff --git a/src/WorkFlowCheck.MAUI/Platforms/Windows/App.xaml b/src/WorkFlowCheck.MAUI/Platforms/Windows/App.xaml deleted file mode 100644 index a4c2dc6..0000000 --- a/src/WorkFlowCheck.MAUI/Platforms/Windows/App.xaml +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/WorkFlowCheck.MAUI/Platforms/Windows/App.xaml.cs b/src/WorkFlowCheck.MAUI/Platforms/Windows/App.xaml.cs deleted file mode 100644 index 4f11516..0000000 --- a/src/WorkFlowCheck.MAUI/Platforms/Windows/App.xaml.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Microsoft.UI.Xaml; - -// To learn more about WinUI, the WinUI project structure, -// and more about our project templates, see: http://aka.ms/winui-project-info. - -namespace WorkFlowCheck.MAUI.WinUI -{ - /// - /// Provides application-specific behavior to supplement the default Application class. - /// - public partial class App : MauiWinUIApplication - { - /// - /// Initializes the singleton application object. This is the first line of authored code - /// executed, and as such is the logical equivalent of main() or WinMain(). - /// - public App() - { - this.InitializeComponent(); - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); - } - -} diff --git a/src/WorkFlowCheck.MAUI/Platforms/Windows/Package.appxmanifest b/src/WorkFlowCheck.MAUI/Platforms/Windows/Package.appxmanifest deleted file mode 100644 index 1ca5bd2..0000000 --- a/src/WorkFlowCheck.MAUI/Platforms/Windows/Package.appxmanifest +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - $placeholder$ - User Name - $placeholder$.png - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/WorkFlowCheck.MAUI/Platforms/Windows/app.manifest b/src/WorkFlowCheck.MAUI/Platforms/Windows/app.manifest deleted file mode 100644 index 26be41d..0000000 --- a/src/WorkFlowCheck.MAUI/Platforms/Windows/app.manifest +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - true/PM - PerMonitorV2, PerMonitor - - - diff --git a/src/WorkFlowCheck.MAUI/Platforms/iOS/AppDelegate.cs b/src/WorkFlowCheck.MAUI/Platforms/iOS/AppDelegate.cs deleted file mode 100644 index ffd9e8b..0000000 --- a/src/WorkFlowCheck.MAUI/Platforms/iOS/AppDelegate.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Foundation; - -namespace WorkFlowCheck.MAUI -{ - [Register("AppDelegate")] - public class AppDelegate : MauiUIApplicationDelegate - { - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); - } -} diff --git a/src/WorkFlowCheck.MAUI/Platforms/iOS/Info.plist b/src/WorkFlowCheck.MAUI/Platforms/iOS/Info.plist deleted file mode 100644 index 0004a4f..0000000 --- a/src/WorkFlowCheck.MAUI/Platforms/iOS/Info.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - LSRequiresIPhoneOS - - UIDeviceFamily - - 1 - 2 - - UIRequiredDeviceCapabilities - - arm64 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - XSAppIconAssets - Assets.xcassets/appicon.appiconset - - diff --git a/src/WorkFlowCheck.MAUI/Platforms/iOS/Program.cs b/src/WorkFlowCheck.MAUI/Platforms/iOS/Program.cs deleted file mode 100644 index a5933d6..0000000 --- a/src/WorkFlowCheck.MAUI/Platforms/iOS/Program.cs +++ /dev/null @@ -1,16 +0,0 @@ -using ObjCRuntime; -using UIKit; - -namespace WorkFlowCheck.MAUI -{ - public class Program - { - // This is the main entry point of the application. - static void Main(string[] args) - { - // if you want to use a different Application Delegate class from "AppDelegate" - // you can specify it here. - UIApplication.Main(args, null, typeof(AppDelegate)); - } - } -} diff --git a/src/WorkFlowCheck.MAUI/Platforms/iOS/Resources/PrivacyInfo.xcprivacy b/src/WorkFlowCheck.MAUI/Platforms/iOS/Resources/PrivacyInfo.xcprivacy deleted file mode 100644 index 24ab3b4..0000000 --- a/src/WorkFlowCheck.MAUI/Platforms/iOS/Resources/PrivacyInfo.xcprivacy +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - NSPrivacyAccessedAPITypes - - - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategoryFileTimestamp - NSPrivacyAccessedAPITypeReasons - - C617.1 - - - - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategorySystemBootTime - NSPrivacyAccessedAPITypeReasons - - 35F9.1 - - - - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategoryDiskSpace - NSPrivacyAccessedAPITypeReasons - - E174.1 - - - - - - diff --git a/src/WorkFlowCheck.MAUI/Services/SyncService.cs b/src/WorkFlowCheck.MAUI/Services/SyncService.cs index 3566140..95e2bff 100644 --- a/src/WorkFlowCheck.MAUI/Services/SyncService.cs +++ b/src/WorkFlowCheck.MAUI/Services/SyncService.cs @@ -1,10 +1,7 @@ -using Android.Health.Connect.DataTypes.Units; -using AutoMapper; -using Java.Net; +using AutoMapper; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Newtonsoft.Json; -using System.Net.Http.Json; using System.Text; using WorkFlowCheck.Common.DTO; using WorkFlowCheck.MAUI.DataLayer; diff --git a/src/WorkFlowCheck.MAUI/WorkFlowCheck.MAUI.csproj b/src/WorkFlowCheck.MAUI/WorkFlowCheck.MAUI.csproj index 611d1d4..1f4a786 100644 --- a/src/WorkFlowCheck.MAUI/WorkFlowCheck.MAUI.csproj +++ b/src/WorkFlowCheck.MAUI/WorkFlowCheck.MAUI.csproj @@ -1,8 +1,7 @@  - net8.0-android;net8.0-ios;net8.0-maccatalyst - $(TargetFrameworks);net8.0-windows10.0.19041.0 + net8.0-android; @@ -30,12 +29,12 @@ 1.0 1 - 11.0 - 13.1 + + 21.0 - 10.0.17763.0 +