From 87094d39c38c7ee983fe7be7ad7edefd7d3436a8 Mon Sep 17 00:00:00 2001 From: Ivan Antunes Date: Mon, 19 Aug 2024 08:25:58 -0300 Subject: [PATCH] fix: Init Notification Push iOS Ok --- android/app/src/main/AndroidManifest.xml | 7 +- ios/Podfile.lock | 5 +- lib/backend/notification/firebase.dart | 351 ----- .../notification/firebase_options.dart | 101 -- lib/backend/notification/message.dart | 163 --- lib/backend/notification/message_list.dart | 53 - lib/backend/notification/notification.dart | 383 ----- lib/backend/notification/permissions.dart | 120 -- lib/backend/notification/token_monitor.dart | 50 - .../push_notification/push_notification.dart | 157 +++ .../push_notification_service.dart | 1251 ++++++++--------- .../tapNotifcationActivity.dart | 1 - lib/main.dart | 128 +- lib/pages/home_page/home_page_widget.dart | 335 ----- .../liberation_history_widget.dart | 48 +- pubspec.lock | 30 +- 16 files changed, 847 insertions(+), 2336 deletions(-) delete mode 100644 lib/backend/notification/firebase.dart delete mode 100644 lib/backend/notification/firebase_options.dart delete mode 100644 lib/backend/notification/message.dart delete mode 100644 lib/backend/notification/message_list.dart delete mode 100644 lib/backend/notification/notification.dart delete mode 100644 lib/backend/notification/permissions.dart delete mode 100644 lib/backend/notification/token_monitor.dart create mode 100644 lib/backend/push_notification/push_notification.dart delete mode 100644 lib/backend/push_notification/tapNotifcationActivity.dart diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 87d8dd6f..c384fe42 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -8,6 +8,7 @@ + + android:windowSoftInputMode="adjustResize" + android:showWhenLocked="true" + android:turnScreenOn="true"> +