From b242cbb62793f220a6599244606054dc95181313 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 12 Nov 2023 15:19:06 +0000 Subject: [PATCH 1/8] chore(deps): update ruby/setup-ruby to v1.160.0 --- .github/workflows/fastlane.action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fastlane.action.yaml b/.github/workflows/fastlane.action.yaml index d8d02989..242a7042 100644 --- a/.github/workflows/fastlane.action.yaml +++ b/.github/workflows/fastlane.action.yaml @@ -34,7 +34,7 @@ jobs: - name: 'Generate changelog' run: ./.github/scripts/generate_changelog.sh - name: 'Setup Ruby' - uses: ruby/setup-ruby@v1.159.0 + uses: ruby/setup-ruby@v1.160.0 with: ruby-version: '3.0' bundler-cache: true From 921808d332b8dc0750d7931e55a8bd27d82de9a4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 19 Nov 2023 20:10:59 +0000 Subject: [PATCH 2/8] chore(deps): update fastlane to v2.217.0 --- android/Gemfile | 2 +- android/Gemfile.lock | 42 +++++++++++++++++++----------------------- 2 files changed, 20 insertions(+), 24 deletions(-) diff --git a/android/Gemfile b/android/Gemfile index d6229f35..59b8bd1d 100644 --- a/android/Gemfile +++ b/android/Gemfile @@ -1,3 +1,3 @@ source "https://rubygems.org" -gem 'fastlane', '2.216.0' \ No newline at end of file +gem 'fastlane', '2.217.0' \ No newline at end of file diff --git a/android/Gemfile.lock b/android/Gemfile.lock index 13362b3e..853d15a8 100644 --- a/android/Gemfile.lock +++ b/android/Gemfile.lock @@ -8,20 +8,20 @@ GEM artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.2.0) - aws-partitions (1.827.0) - aws-sdk-core (3.183.0) + aws-partitions (1.853.0) + aws-sdk-core (3.187.0) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.5) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.71.0) - aws-sdk-core (~> 3, >= 3.177.0) + aws-sdk-kms (1.72.0) + aws-sdk-core (~> 3, >= 3.184.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.135.0) + aws-sdk-s3 (1.137.0) aws-sdk-core (~> 3, >= 3.181.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.6) - aws-sigv4 (1.6.0) + aws-sigv4 (1.6.1) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) claide (1.1.0) @@ -32,11 +32,10 @@ GEM declarative (0.0.20) digest-crc (0.6.5) rake (>= 12.0.0, < 14.0.0) - domain_name (0.5.20190701) - unf (>= 0.0.5, < 1.0.0) + domain_name (0.6.20231109) dotenv (2.8.1) emoji_regex (3.2.3) - excon (0.103.0) + excon (0.104.0) faraday (1.10.3) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) @@ -66,7 +65,7 @@ GEM faraday_middleware (1.2.0) faraday (~> 1.0) fastimage (2.2.7) - fastlane (2.216.0) + fastlane (2.217.0) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) @@ -107,9 +106,9 @@ GEM xcpretty (~> 0.3.0) xcpretty-travis-formatter (>= 0.0.3) gh_inspector (1.1.3) - google-apis-androidpublisher_v3 (0.50.0) + google-apis-androidpublisher_v3 (0.53.0) google-apis-core (>= 0.11.0, < 2.a) - google-apis-core (0.11.1) + google-apis-core (0.11.2) addressable (~> 2.5, >= 2.5.1) googleauth (>= 0.16.2, < 2.a) httpclient (>= 2.8.1, < 3.a) @@ -122,19 +121,19 @@ GEM google-apis-core (>= 0.11.0, < 2.a) google-apis-playcustomapp_v1 (0.13.0) google-apis-core (>= 0.11.0, < 2.a) - google-apis-storage_v1 (0.19.0) - google-apis-core (>= 0.9.0, < 2.a) + google-apis-storage_v1 (0.29.0) + google-apis-core (>= 0.11.0, < 2.a) google-cloud-core (1.6.0) google-cloud-env (~> 1.0) google-cloud-errors (~> 1.0) google-cloud-env (1.6.0) faraday (>= 0.17.3, < 3.0) google-cloud-errors (1.3.1) - google-cloud-storage (1.44.0) + google-cloud-storage (1.45.0) addressable (~> 2.8) digest-crc (~> 0.4) google-apis-iamcredentials_v1 (~> 0.1) - google-apis-storage_v1 (~> 0.19.0) + google-apis-storage_v1 (~> 0.29.0) google-cloud-core (~> 1.6) googleauth (>= 0.16.2, < 2.a) mini_mime (~> 1.0) @@ -160,8 +159,8 @@ GEM optparse (0.1.1) os (1.1.4) plist (3.7.0) - public_suffix (5.0.3) - rake (13.0.6) + public_suffix (5.0.4) + rake (13.1.0) representable (3.2.0) declarative (< 0.1.0) trailblazer-option (>= 0.1.1, < 0.2.0) @@ -189,10 +188,7 @@ GEM tty-spinner (0.9.3) tty-cursor (~> 0.7) uber (0.1.0) - unf (0.1.4) - unf_ext - unf_ext (0.0.8.2) - unicode-display_width (2.4.2) + unicode-display_width (2.5.0) webrick (1.8.1) word_wrap (1.0.0) xcodeproj (1.23.0) @@ -213,7 +209,7 @@ PLATFORMS x86_64-linux DEPENDENCIES - fastlane (= 2.216.0) + fastlane (= 2.217.0) BUNDLED WITH 2.4.10 From 1539fd8c0f10dfdb82d0d36ecf7ccbba84b046d6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 19 Nov 2023 22:26:37 +0000 Subject: [PATCH 3/8] chore(deps): update ruby/setup-ruby to v1.161.0 --- .github/workflows/fastlane.action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fastlane.action.yaml b/.github/workflows/fastlane.action.yaml index 242a7042..f01d79cb 100644 --- a/.github/workflows/fastlane.action.yaml +++ b/.github/workflows/fastlane.action.yaml @@ -34,7 +34,7 @@ jobs: - name: 'Generate changelog' run: ./.github/scripts/generate_changelog.sh - name: 'Setup Ruby' - uses: ruby/setup-ruby@v1.160.0 + uses: ruby/setup-ruby@v1.161.0 with: ruby-version: '3.0' bundler-cache: true From 037743c066a7430cf6120ebc2e9287e588489d0f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 23 Nov 2023 12:18:09 +0000 Subject: [PATCH 4/8] chore(deps): update kotlin_version to v1.9.21 --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index e269d914..5094ddb8 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.8.0' + ext.kotlin_version = '1.9.21' repositories { google() mavenCentral() From 1c6d80d39b3d7a55dadf15d0dd15d883ed5aa41b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 24 Dec 2023 15:01:10 +0000 Subject: [PATCH 5/8] chore(deps): update kotlin_version to v1.9.22 --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 5094ddb8..ab1fdb47 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.9.21' + ext.kotlin_version = '1.9.22' repositories { google() mavenCentral() From 9e3b294faadef2210d426ed4a04742a54251d7d5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 24 Dec 2023 19:20:19 +0000 Subject: [PATCH 6/8] chore(deps): update ruby/setup-ruby to v1.162.0 --- .github/workflows/fastlane.action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fastlane.action.yaml b/.github/workflows/fastlane.action.yaml index f01d79cb..85843773 100644 --- a/.github/workflows/fastlane.action.yaml +++ b/.github/workflows/fastlane.action.yaml @@ -34,7 +34,7 @@ jobs: - name: 'Generate changelog' run: ./.github/scripts/generate_changelog.sh - name: 'Setup Ruby' - uses: ruby/setup-ruby@v1.161.0 + uses: ruby/setup-ruby@v1.162.0 with: ruby-version: '3.0' bundler-cache: true From 17d3f7c01edb6517cd6961726675ddba31e8273c Mon Sep 17 00:00:00 2001 From: Valentin REVERSAT Date: Mon, 22 Jan 2024 23:00:29 +0100 Subject: [PATCH 7/8] fix(notifications): add new Android permissions to use Notifications --- android/app/src/main/AndroidManifest.xml | 76 +++++++++++++++--------- lib/service/notification_service.dart | 6 +- 2 files changed, 52 insertions(+), 30 deletions(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index d060281a..f823ce54 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,9 +1,11 @@ + package="fr.vareversat.chabo"> - + + + @@ -14,45 +16,63 @@ - + + + + + + + + + + + + + + + + - - - + android:name=".MainActivity" + android:exported="true" + android:launchMode="singleTop" + android:theme="@style/LaunchTheme" + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" + android:hardwareAccelerated="true" + android:windowSoftInputMode="adjustResize"> + android:name="io.flutter.embedding.android.NormalTheme" + android:resource="@style/NormalTheme" /> - - + + + android:name="flutterEmbedding" + android:value="2" /> diff --git a/lib/service/notification_service.dart b/lib/service/notification_service.dart index 60941c6f..99ac3670 100644 --- a/lib/service/notification_service.dart +++ b/lib/service/notification_service.dart @@ -92,8 +92,10 @@ class NotificationService { localNotifications.resolvePlatformSpecificImplementation< AndroidFlutterLocalNotificationsPlugin>(); - return await androidImplementation?.requestNotificationsPermission() ?? - false; + return (await androidImplementation?.requestNotificationsPermission() ?? + false) && + (await androidImplementation?.requestExactAlarmsPermission() ?? + false); } return false; From e1d6e395d887cd925b34daee4e24138c1b0a136b Mon Sep 17 00:00:00 2001 From: Valentin REVERSAT Date: Mon, 22 Jan 2024 23:12:44 +0100 Subject: [PATCH 8/8] chore(version): increment version to `v2.5.1` --- changelogs/CHANGELOG_en.md | 5 +++++ changelogs/CHANGELOG_es.md | 5 +++++ changelogs/CHANGELOG_fr.md | 5 +++++ pubspec.yaml | 2 +- 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/changelogs/CHANGELOG_en.md b/changelogs/CHANGELOG_en.md index 2e8bf9e3..70cb4260 100644 --- a/changelogs/CHANGELOG_en.md +++ b/changelogs/CHANGELOG_en.md @@ -1,3 +1,8 @@ +# **v2.5.1** : + +- *Fix*: + - Notifications are now displayed correctly. +*** # **v2.5.0** : - *Dev*: diff --git a/changelogs/CHANGELOG_es.md b/changelogs/CHANGELOG_es.md index aad496c1..6bdcd0fc 100644 --- a/changelogs/CHANGELOG_es.md +++ b/changelogs/CHANGELOG_es.md @@ -1,3 +1,8 @@ +# **v2.5.1** : + +- *Fix*: + - Las notificaciones ahora se muestran correctamente. +*** # **v2.5.0** : - *Dev*: diff --git a/changelogs/CHANGELOG_fr.md b/changelogs/CHANGELOG_fr.md index 32695d9a..0fd74d7f 100644 --- a/changelogs/CHANGELOG_fr.md +++ b/changelogs/CHANGELOG_fr.md @@ -1,3 +1,8 @@ +# **v2.5.1** : + +- *Fix*: + - Les notifications sont maintenant affichées correctement. +*** # **v2.5.0** : - *Dev*: diff --git a/pubspec.yaml b/pubspec.yaml index b6a752f7..0ebdfc28 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: Mobile app to get the closing and opening schedules of the Chaban D publish_to: 'none' -version: 2.5.0 +version: 2.5.1 environment: sdk: '>=3.0.0 <4.0.0'