diff --git a/android/app/src/main/kotlin/com/zulip/flutter/Notifications.g.kt b/android/app/src/main/kotlin/com/zulip/flutter/Notifications.g.kt index ac6f0a5732..d1b91c9614 100644 --- a/android/app/src/main/kotlin/com/zulip/flutter/Notifications.g.kt +++ b/android/app/src/main/kotlin/com/zulip/flutter/Notifications.g.kt @@ -1,4 +1,4 @@ -// Autogenerated from Pigeon (v17.2.0), do not edit directly. +// Autogenerated from Pigeon (v18.0.0), do not edit directly. // See also: https://pub.dev/packages/pigeon package com.zulip.flutter @@ -134,9 +134,10 @@ interface AndroidNotificationHostApi { } /** Sets up an instance of `AndroidNotificationHostApi` to handle messages through the `binaryMessenger`. */ @Suppress("UNCHECKED_CAST") - fun setUp(binaryMessenger: BinaryMessenger, api: AndroidNotificationHostApi?) { + fun setUp(binaryMessenger: BinaryMessenger, api: AndroidNotificationHostApi?, messageChannelSuffix: String = "") { + val separatedMessageChannelSuffix = if (messageChannelSuffix.isNotEmpty()) ".$messageChannelSuffix" else "" run { - val channel = BasicMessageChannel(binaryMessenger, "dev.flutter.pigeon.zulip.AndroidNotificationHostApi.notify", codec) + val channel = BasicMessageChannel(binaryMessenger, "dev.flutter.pigeon.zulip.AndroidNotificationHostApi.notify$separatedMessageChannelSuffix", codec) if (api != null) { channel.setMessageHandler { message, reply -> val args = message as List diff --git a/ios/Podfile.lock b/ios/Podfile.lock index cc57d1e9f1..e786a718c5 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -42,10 +42,10 @@ PODS: - Firebase/Messaging (10.22.0): - Firebase/CoreOnly - FirebaseMessaging (~> 10.22.0) - - firebase_core (2.27.0): + - firebase_core (2.28.0): - Firebase/CoreOnly (= 10.22.0) - Flutter - - firebase_messaging (14.7.19): + - firebase_messaging (14.8.0): - Firebase/Messaging (= 10.22.0) - firebase_core - Flutter @@ -205,13 +205,13 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: app_settings: 017320c6a680cdc94c799949d95b84cb69389ebc - device_info_plus: c6fb39579d0f423935b0c9ce7ee2f44b71b9fce6 + device_info_plus: 97af1d7e84681a90d0693e63169a5d50e0839a0d DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179 - file_picker: 15fd9539e4eb735dc54bae8c0534a7a9511a03de + file_picker: 09aa5ec1ab24135ccd7a1621c46c84134bfd6655 Firebase: 797fd7297b7e1be954432743a0b3f90038e45a71 - firebase_core: 100945864b4aedce3cfef0c62ab864858bf013cf - firebase_messaging: e65050bf9b187511d80ea3a4de7cf5573d2c7543 + firebase_core: d955499180c3c8ef355adf46b8752c4c01d09e0a + firebase_messaging: 23c8eaa885a11552e45c98b7a08ba81860092883 FirebaseCore: 0326ec9b05fbed8f8716cddbf0e36894a13837f7 FirebaseCoreInternal: 6a292e6f0bece1243a737e81556e56e5e19282e3 FirebaseInstallations: 42d6ead4605d6eafb3b6683674e80e18eb6f2c35 @@ -223,11 +223,11 @@ SPEC CHECKSUMS: image_picker_ios: b545a5f16c0fa88e3ecbbce3ed4de45567a8ec18 integration_test: ce0a3ffa1de96d1a89ca0ac26fca7ea18a749ef4 nanopb: 438bc412db1928dac798aa6fd75726007be04262 - package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85 + package_info_plus: 58f0028419748fad15bf008b270aaa8e54380b1c path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 SDWebImage: 40b0b4053e36c660a764958bff99eed16610acbb - share_plus: c3fef564749587fc939ef86ffb283ceac0baf9f5 + share_plus: 8875f4f2500512ea181eef553c3e27dba5135aad sqlite3: 73b7fc691fdc43277614250e04d183740cb15078 sqlite3_flutter_libs: af0e8fe9bce48abddd1ffdbbf839db0302d72d80 SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4 diff --git a/lib/host/android_notifications.g.dart b/lib/host/android_notifications.g.dart index 6c36eb66f1..9dcf09a74e 100644 --- a/lib/host/android_notifications.g.dart +++ b/lib/host/android_notifications.g.dart @@ -1,4 +1,4 @@ -// Autogenerated from Pigeon (v17.2.0), do not edit directly. +// Autogenerated from Pigeon (v18.0.0), do not edit directly. // See also: https://pub.dev/packages/pigeon // ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import, no_leading_underscores_for_local_identifiers @@ -80,12 +80,15 @@ class AndroidNotificationHostApi { /// Constructor for [AndroidNotificationHostApi]. The [binaryMessenger] named argument is /// available for dependency injection. If it is left null, the default /// BinaryMessenger will be used which routes to the host platform. - AndroidNotificationHostApi({BinaryMessenger? binaryMessenger}) - : __pigeon_binaryMessenger = binaryMessenger; + AndroidNotificationHostApi({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''}) + : __pigeon_binaryMessenger = binaryMessenger, + __pigeon_messageChannelSuffix = messageChannelSuffix.isNotEmpty ? '.$messageChannelSuffix' : ''; final BinaryMessenger? __pigeon_binaryMessenger; static const MessageCodec pigeonChannelCodec = _AndroidNotificationHostApiCodec(); + final String __pigeon_messageChannelSuffix; + /// Corresponds to `android.app.NotificationManager.notify`, /// combined with `androidx.core.app.NotificationCompat.Builder`. /// @@ -104,7 +107,7 @@ class AndroidNotificationHostApi { /// https://developer.android.com/reference/kotlin/android/app/NotificationManager.html#notify /// https://developer.android.com/reference/androidx/core/app/NotificationCompat.Builder Future notify({String? tag, required int id, required String channelId, int? color, PendingIntent? contentIntent, String? contentText, String? contentTitle, Map? extras, String? smallIconResourceName,}) async { - const String __pigeon_channelName = 'dev.flutter.pigeon.zulip.AndroidNotificationHostApi.notify'; + final String __pigeon_channelName = 'dev.flutter.pigeon.zulip.AndroidNotificationHostApi.notify$__pigeon_messageChannelSuffix'; final BasicMessageChannel __pigeon_channel = BasicMessageChannel( __pigeon_channelName, pigeonChannelCodec, diff --git a/macos/Podfile.lock b/macos/Podfile.lock index 0d20871de5..0b6bea27a6 100644 --- a/macos/Podfile.lock +++ b/macos/Podfile.lock @@ -8,10 +8,10 @@ PODS: - Firebase/Messaging (10.22.0): - Firebase/CoreOnly - FirebaseMessaging (~> 10.22.0) - - firebase_core (2.27.0): + - firebase_core (2.28.0): - Firebase/CoreOnly (~> 10.22.0) - FlutterMacOS - - firebase_messaging (14.7.19): + - firebase_messaging (14.8.0): - Firebase/CoreOnly (~> 10.22.0) - Firebase/Messaging (~> 10.22.0) - firebase_core @@ -150,11 +150,11 @@ EXTERNAL SOURCES: :path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos SPEC CHECKSUMS: - device_info_plus: 5401765fde0b8d062a2f8eb65510fb17e77cf07f + device_info_plus: ce1b7762849d3ec103d0e0517299f2db7ad60720 file_selector_macos: 468fb6b81fac7c0e88d71317f3eec34c3b008ff9 Firebase: 797fd7297b7e1be954432743a0b3f90038e45a71 - firebase_core: 94cef1d79e26747286a4808b2345c1ecb8501b11 - firebase_messaging: b243cd1026362f3f5ec5e73ffb0c4431519f0b57 + firebase_core: 2c57be44d4fb5de6757fd8ebe04e363599daef36 + firebase_messaging: 6ee25816b47b604184e49b9e0c49334ebe555d06 FirebaseCore: 0326ec9b05fbed8f8716cddbf0e36894a13837f7 FirebaseCoreInternal: 6a292e6f0bece1243a737e81556e56e5e19282e3 FirebaseInstallations: 42d6ead4605d6eafb3b6683674e80e18eb6f2c35 @@ -164,10 +164,10 @@ SPEC CHECKSUMS: GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 nanopb: 438bc412db1928dac798aa6fd75726007be04262 - package_info_plus: 02d7a575e80f194102bef286361c6c326e4c29ce + package_info_plus: fa739dd842b393193c5ca93c26798dff6e3d0e0c path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 - share_plus: 76dd39142738f7a68dd57b05093b5e8193f220f7 + share_plus: 36537c04ce0c3e3f5bd297ce4318b6d5ee5fd6cf sqlite3: 73b7fc691fdc43277614250e04d183740cb15078 sqlite3_flutter_libs: 06a05802529659a272beac4ee1350bfec294f386 url_launcher_macos: d2691c7dd33ed713bf3544850a623080ec693d95 diff --git a/pubspec.lock b/pubspec.lock index 9d88d3cf75..18509fd60a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -13,10 +13,10 @@ packages: dependency: transitive description: name: _flutterfire_internals - sha256: "4eec93681221723a686ad580c2e7d960e1017cf1a4e0a263c2573c2c6b0bf5cd" + sha256: "79b6452b4066fcbdd74c2aac354e80c591a727e0364bedccecdb5a5321784fa2" url: "https://pub.dev" source: hosted - version: "1.3.25" + version: "1.3.28" analyzer: dependency: transitive description: @@ -221,10 +221,10 @@ packages: dependency: transitive description: name: cross_file - sha256: fedaadfa3a6996f75211d835aaeb8fede285dae94262485698afd832371b9a5e + sha256: "55d7b444feb71301ef6b8838dbc1ae02e63dd48c8773f3810ff53bb1e2945b32" url: "https://pub.dev" source: hosted - version: "0.3.3+8" + version: "0.3.4+1" crypto: dependency: "direct main" description: @@ -261,10 +261,10 @@ packages: dependency: "direct main" description: name: device_info_plus - sha256: "77f757b789ff68e4eaf9c56d1752309bd9f7ad557cb105b938a7f8eb89e59110" + sha256: "50fb435ed30c6d2525cbfaaa0f46851ea6131315f213c0d921b0e407b34e3b84" url: "https://pub.dev" source: hosted - version: "9.1.2" + version: "10.0.1" device_info_plus_platform_interface: dependency: transitive description: @@ -277,18 +277,18 @@ packages: dependency: "direct main" description: name: drift - sha256: b50a8342c6ddf05be53bda1d246404cbad101b64dc73e8d6d1ac1090d119b4e2 + sha256: "3b276c838ff7f8e19aac18a51f9b388715268f3534eaaf8047c8455ef3c1738d" url: "https://pub.dev" source: hosted - version: "2.15.0" + version: "2.16.0" drift_dev: dependency: "direct dev" description: name: drift_dev - sha256: c037d9431b6f8dc633652b1469e5f53aaec6e4eb405ed29dd232fa888ef10d88 + sha256: "66cf3e397448f855523d7b6b7b3789db232b211db96543a42285464d05f3bf72" url: "https://pub.dev" source: hosted - version: "2.15.0" + version: "2.16.0" fake_async: dependency: "direct dev" description: @@ -317,10 +317,10 @@ packages: dependency: "direct main" description: name: file_picker - sha256: "1bbf65dd997458a08b531042ec3794112a6c39c07c37ff22113d2e7e4f81d4e4" + sha256: d1d0ac3966b36dc3e66eeefb40280c17feb87fa2099c6e22e6a1fc959327bd03 url: "https://pub.dev" source: hosted - version: "6.2.1" + version: "8.0.0+1" file_selector_linux: dependency: transitive description: @@ -357,10 +357,10 @@ packages: dependency: "direct main" description: name: firebase_core - sha256: "53316975310c8af75a96e365f9fccb67d1c544ef0acdbf0d88bbe30eedd1c4f9" + sha256: "4b45655ec1b21a1783681f72f840a2e74d298046c2b7c286ab0e4f0efbf93d0a" url: "https://pub.dev" source: hosted - version: "2.27.0" + version: "2.28.0" firebase_core_platform_interface: dependency: transitive description: @@ -373,34 +373,34 @@ packages: dependency: transitive description: name: firebase_core_web - sha256: c8e1d59385eee98de63c92f961d2a7062c5d9a65e7f45bdc7f1b0b205aab2492 + sha256: "28e30e00748497b9a70db2025942a42c5d752534eb678e9b9b98db056cf404ba" url: "https://pub.dev" source: hosted - version: "2.11.5" + version: "2.14.0" firebase_messaging: dependency: "direct main" description: name: firebase_messaging - sha256: e41586e0fd04fe9a40424f8b0053d0832e6d04f49e020cdaf9919209a28497e9 + sha256: "502233442839406198c34458a4ff71ca3350cc7be88ce06a8b729cbd2162ef57" url: "https://pub.dev" source: hosted - version: "14.7.19" + version: "14.8.0" firebase_messaging_platform_interface: dependency: transitive description: name: firebase_messaging_platform_interface - sha256: f7a9d74ff7fc588a924f6b2eaeaa148b0db521b13a9db55f6ad45864fa98c06e + sha256: "9438353a857c8000b0680d7ee246acb14fb854c4a14df4ebc7e1efde166903ac" url: "https://pub.dev" source: hosted - version: "4.5.27" + version: "4.5.30" firebase_messaging_web: dependency: transitive description: name: firebase_messaging_web - sha256: fc21e771166860c55b103701c5ac7cdb2eec28897b97c42e6e5703cbedf9e02e + sha256: "6672c1c41e79d607b1ce0bbf1c6dcf97f7894b98bf65fe806e40d62a700bae3a" url: "https://pub.dev" source: hosted - version: "3.6.8" + version: "3.8.0" fixnum: dependency: transitive description: @@ -439,10 +439,10 @@ packages: dependency: "direct main" description: name: flutter_local_notifications - sha256: "55b9b229307a10974b26296ff29f2e132256ba4bd74266939118eaefa941cb00" + sha256: f9a05409385b77b06c18f200a41c7c2711ebf7415669350bb0f8474c07bd40d1 url: "https://pub.dev" source: hosted - version: "16.3.3" + version: "17.0.0" flutter_local_notifications_linux: dependency: transitive description: @@ -523,10 +523,10 @@ packages: dependency: "direct main" description: name: http - sha256: a2bbf9d017fcced29139daa8ed2bba4ece450ab222871df93ca9eec6f80c34ba + sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.2.1" http_multi_server: dependency: transitive description: @@ -563,10 +563,10 @@ packages: dependency: transitive description: name: image_picker_for_web - sha256: e2423c53a68b579a7c37a1eda967b8ae536c3d98518e5db95ca1fe5719a730a3 + sha256: "6a1704fdd75022272e7e7a897a9068e9c2ff3cd6a66820bf3ded810633eac954" url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "3.0.3" image_picker_ios: dependency: transitive description: @@ -632,10 +632,10 @@ packages: dependency: transitive description: name: js - sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 + sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf url: "https://pub.dev" source: hosted - version: "0.6.7" + version: "0.7.1" json_annotation: dependency: "direct main" description: @@ -752,10 +752,10 @@ packages: dependency: "direct main" description: name: package_info_plus - sha256: "88bc797f44a94814f2213db1c9bd5badebafdfb8290ca9f78d4b9ee2a3db4d79" + sha256: cb44f49b6e690fa766f023d5b22cac6b9affe741dd792b6ac7ad4fabe0d7b097 url: "https://pub.dev" source: hosted - version: "5.0.1" + version: "6.0.0" package_info_plus_platform_interface: dependency: transitive description: @@ -832,10 +832,10 @@ packages: dependency: "direct dev" description: name: pigeon - sha256: f336a0547b790b3dcfe4fc49f63575dea3555b609e38886f4f46c1fe3cfa5f20 + sha256: be883401d09121c427ed9c5f6e96427787d93d335f55e5e2b0d780a0a22cd561 url: "https://pub.dev" source: hosted - version: "17.3.0" + version: "18.0.0" platform: dependency: transitive description: @@ -904,10 +904,10 @@ packages: dependency: "direct main" description: name: share_plus - sha256: "3ef39599b00059db0990ca2e30fca0a29d8b37aae924d60063f8e0184cf20900" + sha256: "05ec043470319bfbabe0adbc90d3a84cbff0426b9d9f3a6e2ad3e131fa5fa629" url: "https://pub.dev" source: hosted - version: "7.2.2" + version: "8.0.2" share_plus_platform_interface: dependency: "direct main" description: @@ -1173,10 +1173,10 @@ packages: dependency: transitive description: name: url_launcher_web - sha256: fff0932192afeedf63cdd50ecbb1bc825d31aed259f02bb8dba0f3b729a5e88b + sha256: "3692a459204a33e04bc94f5fb91158faf4f2c8903281ddd82915adecdb1a901d" url: "https://pub.dev" source: hosted - version: "2.2.3" + version: "2.3.0" url_launcher_windows: dependency: transitive description: @@ -1221,18 +1221,18 @@ packages: dependency: transitive description: name: web - sha256: "4188706108906f002b3a293509234588823c8c979dc83304e229ff400c996b05" + sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27" url: "https://pub.dev" source: hosted - version: "0.4.2" + version: "0.5.1" web_socket_channel: dependency: transitive description: name: web_socket_channel - sha256: "939ab60734a4f8fa95feacb55804fa278de28bdeef38e616dc08e44a84adea23" + sha256: "1d8e795e2a8b3730c41b8a98a2dff2e0fb57ae6f0764a1c46ec5915387d257b2" url: "https://pub.dev" source: hosted - version: "2.4.3" + version: "2.4.4" webdriver: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 4ece9b612a..729290ae15 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -43,23 +43,23 @@ dependencies: collection: ^1.17.2 convert: ^3.1.1 crypto: ^3.0.3 - device_info_plus: ^9.0.0 + device_info_plus: ^10.0.1 drift: ^2.5.0 - file_picker: ^6.0.0 + file_picker: ^8.0.0+1 firebase_core: ^2.14.0 firebase_messaging: ^14.6.3 flutter_color_models: ^1.3.3+2 - flutter_local_notifications: ^16.1.0 + flutter_local_notifications: ^17.0.0 flutter_local_notifications_platform_interface: ^7.0.0+1 html: ^0.15.1 http: ^1.0.0 image_picker: ^1.0.0 intl: ^0.19.0 json_annotation: ^4.8.1 - package_info_plus: ^5.0.1 + package_info_plus: ^6.0.0 path: ^1.8.3 path_provider: ^2.0.13 - share_plus: ^7.0.0 + share_plus: ^8.0.2 share_plus_platform_interface: ^3.3.1 sqlite3: ^2.4.0 sqlite3_flutter_libs: ^0.5.13 @@ -84,7 +84,7 @@ dev_dependencies: fake_async: ^1.3.1 flutter_lints: ^3.0.0 json_serializable: ^6.5.4 - pigeon: ^17.2.0 + pigeon: ^18.0.0 stack_trace: ^1.11.1 test: ^1.23.1 # Keep list sorted when adding dependencies; it helps prevent merge conflicts.