From ea4a1afd314ff1d388c9e5ed0a7c293ea95bdea6 Mon Sep 17 00:00:00 2001 From: jusax23 Date: Tue, 28 Nov 2023 23:08:27 +0100 Subject: [PATCH] changed name, diff to auto gen app --- example/android/app/build.gradle | 2 +- example/android/app/src/main/AndroidManifest.xml | 12 ++++++------ .../MainActivity.kt | 12 ++++++------ example/android/settings.gradle | 13 +++++++++++-- example/linux/CMakeLists.txt | 10 ++++++++-- example/linux/my_application.cc | 4 ++-- example/windows/CMakeLists.txt | 8 +++++++- example/windows/flutter/CMakeLists.txt | 7 ++++++- example/windows/runner/Runner.rc | 8 ++++---- example/windows/runner/main.cpp | 2 +- 10 files changed, 52 insertions(+), 26 deletions(-) rename example/android/app/src/main/kotlin/com/example/{flutter_stockfish_plugin2_example => flutter_stockfish_plugin_example}/MainActivity.kt (61%) diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index ecee631..1fd9e74 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -23,7 +23,7 @@ if (flutterVersionName == null) { } android { - namespace "com.example.flutter_stockfish_plugin2_example" + namespace "com.example.flutter_stockfish_plugin_example" compileSdkVersion flutter.compileSdkVersion ndkVersion flutter.ndkVersion diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index b209e4b..23fad9e 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -16,12 +16,12 @@ while the Flutter UI initializes. After that, this theme continues to determine the Window background behind the Flutter UI. --> + android:name="io.flutter.embedding.android.NormalTheme" + android:resource="@style/NormalTheme" + /> - - + +