From 31dbe269469b5808349ece5e4f957fe09e2f4175 Mon Sep 17 00:00:00 2001 From: MrSpoony Date: Fri, 30 Dec 2022 23:48:05 +0100 Subject: [PATCH] remove unused plattforms --- Platforms/Android/AndroidManifest.xml | 6 ---- Platforms/Android/MainActivity.cs | 10 ------ Platforms/Android/MainApplication.cs | 15 --------- Platforms/Android/Resources/values/colors.xml | 6 ---- Platforms/Tizen/Main.cs | 16 ---------- Platforms/Tizen/tizen-manifest.xml | 15 --------- Platforms/iOS/AppDelegate.cs | 9 ------ Platforms/iOS/Info.plist | 32 ------------------- Platforms/iOS/Program.cs | 15 --------- 9 files changed, 124 deletions(-) delete mode 100644 Platforms/Android/AndroidManifest.xml delete mode 100644 Platforms/Android/MainActivity.cs delete mode 100644 Platforms/Android/MainApplication.cs delete mode 100644 Platforms/Android/Resources/values/colors.xml delete mode 100644 Platforms/Tizen/Main.cs delete mode 100644 Platforms/Tizen/tizen-manifest.xml delete mode 100644 Platforms/iOS/AppDelegate.cs delete mode 100644 Platforms/iOS/Info.plist delete mode 100644 Platforms/iOS/Program.cs diff --git a/Platforms/Android/AndroidManifest.xml b/Platforms/Android/AndroidManifest.xml deleted file mode 100644 index bdec9b5..0000000 --- a/Platforms/Android/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/Platforms/Android/MainActivity.cs b/Platforms/Android/MainActivity.cs deleted file mode 100644 index 3a9f149..0000000 --- a/Platforms/Android/MainActivity.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Android.App; -using Android.Content.PM; -using Android.OS; - -namespace YOUserbase; - -[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] -public class MainActivity : MauiAppCompatActivity -{ -} diff --git a/Platforms/Android/MainApplication.cs b/Platforms/Android/MainApplication.cs deleted file mode 100644 index 467d258..0000000 --- a/Platforms/Android/MainApplication.cs +++ /dev/null @@ -1,15 +0,0 @@ -using Android.App; -using Android.Runtime; - -namespace YOUserbase; - -[Application] -public class MainApplication : MauiApplication -{ - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} diff --git a/Platforms/Android/Resources/values/colors.xml b/Platforms/Android/Resources/values/colors.xml deleted file mode 100644 index 5cd1604..0000000 --- a/Platforms/Android/Resources/values/colors.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - #512BD4 - #2B0B98 - #2B0B98 - \ No newline at end of file diff --git a/Platforms/Tizen/Main.cs b/Platforms/Tizen/Main.cs deleted file mode 100644 index 981ec1f..0000000 --- a/Platforms/Tizen/Main.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using Microsoft.Maui; -using Microsoft.Maui.Hosting; - -namespace YOUserbase; - -class Program : MauiApplication -{ - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); - - static void Main(string[] args) - { - var app = new Program(); - app.Run(args); - } -} diff --git a/Platforms/Tizen/tizen-manifest.xml b/Platforms/Tizen/tizen-manifest.xml deleted file mode 100644 index dd29031..0000000 --- a/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/Platforms/iOS/AppDelegate.cs b/Platforms/iOS/AppDelegate.cs deleted file mode 100644 index 28bade8..0000000 --- a/Platforms/iOS/AppDelegate.cs +++ /dev/null @@ -1,9 +0,0 @@ -using Foundation; - -namespace YOUserbase; - -[Register("AppDelegate")] -public class AppDelegate : MauiUIApplicationDelegate -{ - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} diff --git a/Platforms/iOS/Info.plist b/Platforms/iOS/Info.plist deleted file mode 100644 index 358337b..0000000 --- a/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/Platforms/iOS/Program.cs b/Platforms/iOS/Program.cs deleted file mode 100644 index 340f88d..0000000 --- a/Platforms/iOS/Program.cs +++ /dev/null @@ -1,15 +0,0 @@ -using ObjCRuntime; -using UIKit; - -namespace YOUserbase; - -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)); - } -}