From 1068c9b56110a6be3a512611021bf9597b5345d9 Mon Sep 17 00:00:00 2001 From: nikeight Date: Fri, 13 Oct 2023 01:58:42 +0530 Subject: [PATCH 1/4] removed : empty MainActivity file --- .../app/src/main/AndroidManifest.xml.template | 54 ------------------- .../com/example/plane_startup/MainActivity.kt | 6 --- lib/main.dart | 2 +- 3 files changed, 1 insertion(+), 61 deletions(-) delete mode 100644 android/app/src/main/AndroidManifest.xml.template delete mode 100644 android/app/src/main/kotlin/com/example/plane_startup/MainActivity.kt diff --git a/android/app/src/main/AndroidManifest.xml.template b/android/app/src/main/AndroidManifest.xml.template deleted file mode 100644 index 96c53688..00000000 --- a/android/app/src/main/AndroidManifest.xml.template +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/android/app/src/main/kotlin/com/example/plane_startup/MainActivity.kt b/android/app/src/main/kotlin/com/example/plane_startup/MainActivity.kt deleted file mode 100644 index d2ebdaa8..00000000 --- a/android/app/src/main/kotlin/com/example/plane_startup/MainActivity.kt +++ /dev/null @@ -1,6 +0,0 @@ -package com.plane.so - -import io.flutter.embedding.android.FlutterActivity - -class MainActivity: FlutterActivity() { -} diff --git a/lib/main.dart b/lib/main.dart index d4ea699a..74c1440b 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -22,7 +22,7 @@ import 'package:flutter_native_splash/flutter_native_splash.dart'; late String selectedTheme; void main() async { - final widgetsBinding=WidgetsFlutterBinding.ensureInitialized(); + final widgetsBinding = WidgetsFlutterBinding.ensureInitialized(); await Future.delayed(const Duration(milliseconds: 300)); FlutterNativeSplash.preserve(widgetsBinding: widgetsBinding); await dotenv.load(fileName: '.env'); From 8eaaad7f433b113dda5f8c97dffb50b7e0bcbc77 Mon Sep 17 00:00:00 2001 From: nikeight Date: Fri, 13 Oct 2023 02:14:13 +0530 Subject: [PATCH 2/4] removed : AndroidManifest.xml file from Gitignore. --- .gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitignore b/.gitignore index f3702eab..740c0e91 100644 --- a/.gitignore +++ b/.gitignore @@ -47,6 +47,5 @@ app.*.map.json CustomInfo.plist Info.plist key.properties -AndroidManifest.xml pubspec.lock From 7804e298adfbc5e65f9b7536ec25bfccaa83cf1e Mon Sep 17 00:00:00 2001 From: nikeight Date: Fri, 13 Oct 2023 02:36:43 +0530 Subject: [PATCH 3/4] update : AndroidManifest file --- android/app/src/main/AndroidManifest.xml | 56 +++++++++++++++++++++++ android/app/src/main/AndroidManifest.xmll | 0 2 files changed, 56 insertions(+) create mode 100644 android/app/src/main/AndroidManifest.xml create mode 100644 android/app/src/main/AndroidManifest.xmll diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml new file mode 100644 index 00000000..bbce1c17 --- /dev/null +++ b/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android/app/src/main/AndroidManifest.xmll b/android/app/src/main/AndroidManifest.xmll new file mode 100644 index 00000000..e69de29b From af750908235d93ed55eb1223d96af624a50c5246 Mon Sep 17 00:00:00 2001 From: nikeight Date: Fri, 13 Oct 2023 02:42:08 +0530 Subject: [PATCH 4/4] removed : unwanted files. --- android/app/src/main/AndroidManifest.xmll | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 android/app/src/main/AndroidManifest.xmll diff --git a/android/app/src/main/AndroidManifest.xmll b/android/app/src/main/AndroidManifest.xmll deleted file mode 100644 index e69de29b..00000000