diff --git a/TODO.txt b/TODO.txt
index 141bc06..5204dbe 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -4,4 +4,10 @@
バックアップをイベントごとに保存・レストア
ログインした際に、イベントが選択されていなければ、イベントを選択するように促す。
-事前チェックインした写真が履歴に表示されない。
\ No newline at end of file
+事前チェックインした写真が履歴に表示されない。
+
+ユーザー名間違えたらログインできなくなる。
+
+起動時に最後の参加イベントが過去日だったら、
+チェックポイントをクリアする。
+当日なら、参加処理?をしてタイトルを変える。
diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro
new file mode 100644
index 0000000..831db07
--- /dev/null
+++ b/android/app/proguard-rules.pro
@@ -0,0 +1,8 @@
+-assumenosideeffects class android.util.Log {
+ public static boolean isLoggable(java.lang.String, int);
+ public static int v(...);
+ public static int i(...);
+ public static int w(...);
+ public static int d(...);
+ public static int e(...);
+}
\ No newline at end of file
diff --git a/ios/Runner/Base.lproj/LaunchScreen.storyboard b/ios/Runner/Base.lproj/LaunchScreen.storyboard
index 2662bd6..c8fa47b 100644
--- a/ios/Runner/Base.lproj/LaunchScreen.storyboard
+++ b/ios/Runner/Base.lproj/LaunchScreen.storyboard
@@ -19,26 +19,34 @@
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/main.dart b/lib/main.dart
index 154e1ef..58ab8c6 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -216,10 +216,7 @@ void main() async {
};
try {
-
-
await initServices();
-
runApp(const ProviderScope(child: MyApp()));
}catch(e, stackTrace){
print('Error during initialization: $e');
@@ -244,19 +241,6 @@ Future initServices() async {
Get.put(LocationController(), permanent: true);
debugPrint("2: Controllers initialized");
- /*
- // すべてのコントローラーとサービスを非同期で初期化
- Get.lazyPut(() => IndexController(apiService: Get.find()));
- debugPrint("2: start IndexController");
-
- // その他のコントローラーを遅延初期化
- Get.lazyPut(() => SettingsController());
- debugPrint("2: start SettingsController");
- Get.lazyPut(() => DestinationController());
- debugPrint("3: start DestinationController");
- Get.lazyPut(() => LocationController());
- debugPrint("4: start LocationController");
- */
// 非同期処理を並列実行
await Future.wait([
@@ -273,6 +257,7 @@ Future initServices() async {
}catch(e){
print('Error initializing : $e');
+ rethrow;
}
print('All services started...');
@@ -667,11 +652,14 @@ class _MyAppState extends State with WidgetsBindingObserver {
}
void _checkMemoryUsage() async {
+ /*
final memoryInfo = await _getMemoryInfo();
//debugPrint('Current memory usage: ${memoryInfo['used']} MB');
if (memoryInfo['used']! > 100) { // 100MB以上使用している場合
_performMemoryCleanup();
}
+
+ */
}
Future