firebase / flutterfire

🔥 A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.73k stars 3.98k forks source link

Push notification not working #16457

Open sujithequipohealth opened 1 week ago

sujithequipohealth commented 1 week ago

Is there an existing issue for this?

Which plugins are affected?

Messaging

Which platforms are affected?

iOS

Description

push notification not woking after cocoapods update

Screenshot 2024-11-13 at 9 41 56 AM

Reproducing the issue

update the cocoapods to 1.16.2

Firebase Core version

3.7.0

Flutter Version

3.24.4

Relevant Log Output

No response

Flutter dependencies

Expand Flutter dependencies snippet
```yaml name: tody_mobile_app description: "A new Flutter project." publish_to: "none" #version: 1.0.0+1 version: 1.0.3+1 environment: sdk: ">=3.3.1 <4.0.0" dependencies: flutter: sdk: flutter flutter_localizations: sdk: flutter # cupertino_icons: ^1.0.6 #Storage shared_preferences: ^2.3.2 flutter_secure_storage: ^9.2.2 #image cached_network_image: ^3.4.1 flutter_svg: ^2.0.10+1 # flutter_svg_provider: ^1.0.7 smooth_page_indicator: ^1.2.0 dotted_border: ^2.1.0 graphic: ^2.5.0 equatable: ^2.0.5 grouped_list: ^6.0.0 flutter_bloc: ^8.1.6 bloc: ^8.1.4 get_it: ^8.0.1 # stream_transform: ^2.1.0 dio: ^5.7.0 dartz: ^0.10.1 url_launcher: ^6.3.0 logger: ^2.4.0 image_picker: ^1.1.2 fluttertoast: ^8.2.8 # flutter_pdfview: ^1.3.2 shimmer: ^3.0.0 # photo_view: # external_app_launcher: ^4.0.0 flutter_typeahead: ^5.2.0 widgets_to_image: ^1.0.0 share_plus: ^10.1.1 maps_launcher: ^2.2.1 injectable: ^2.5.0 loader_overlay: ^4.0.3 # v2_fl_pkg_communication: # git: https://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@github.com/equipo-health/v2_fl_pkg_communication.git internet_connection_checker_plus: ^2.5.2 bloc_concurrency: ^0.2.5 auto_route: ^9.2.2 intl: ^0.19.0 web_socket_channel: ^3.0.1 form_field_validator: ^1.1.0 dropdown_search: ^5.0.6 gradient_borders: ^1.0.1 iconsax: ^0.0.8 file_picker: ^8.1.3 flutter_cached_pdfview: ^0.4.2 # badges: ^3.1.2 firebase_core: ^3.7.0 # flutter_sound: ^9.6.0 # audio_session: ^0.1.19 permission_handler: ^11.3.1 # vibration: ^1.9.0 # audio_waveforms: ^1.0.5 path_provider: ^2.1.3 uuid: ^4.5.1 flutter_cache_manager: ^3.4.1 provider: ^6.1.2 tab_container: ^3.5.3 flutter_mentions: ^2.0.1 flutter_portal: ^0.4.0 open_file: 3.3.2 flutter_screenutil: ^5.9.3 google_places_flutter: ^2.0.9 flutter_audio_waveforms: ^1.2.1+8 audioplayers: ^6.0.0 flutter_widget_from_html: ^0.15.2 local_auth: ^2.2.0 scrollable_positioned_list: ^0.3.8 webview_flutter: ^4.9.0 webview_flutter_wkwebview: ^3.14.0 webview_flutter_android: ^3.16.9 like_button: ^2.0.5 two_dimensional_scrollables: ^0.3.3 audio_video_progress_bar: ^2.0.3 pdf: ^3.11.1 syncfusion_flutter_pdf: ^26.2.10 firebase_messaging: ^15.1.4 # flutter_local_notifications: ^17.2.2 timeago: ^3.7.0 just_audio: 0.9.41 # rxdart: ^0.28.0 package_info_plus: ^8.1.0 pro_image_editor: ^5.4.2 device_info_plus: ^11.1.0 record: ^5.1.2 image_cropper: ^8.0.2 flutter_app_badge: ^2.0.2 awesome_notifications: ^0.10.0 awesome_notifications_core: ^0.10.0 animated_icon: ^0.0.9 flutter_otp_text_field: ^1.2.0 otp_autofill: ^4.1.0 # flutter_document_scanner: # path: packages/flutter_document_scanner/flutter_document_scanner/ reorderable_grid_view: ^2.2.8 cunning_document_scanner: ^1.2.3 # voice_message_package: ^2.2.1 # flutter_phone_direct_caller: ^2.1.1 dev_dependencies: flutter_test: sdk: flutter flutter_lints: ^5.0.0 bloc_test: ^9.1.7 mockito: ^5.4.4 injectable_generator: ^2.6.2 build_runner: ^2.4.13 auto_route_generator: ^9.0.0 rename: ^3.0.2 dependency_overrides: http: any # intl: any # audioplayers: any # syncfusion_flutter_core: any flutter: uses-material-design: true fonts: - family: Satoshi fonts: - asset: assets/fonts/Satoshi-Black.otf weight: 900 - asset: assets/fonts/Satoshi-BlackItalic.otf weight: 900 style: italic - asset: assets/fonts/Satoshi-Bold.otf weight: 700 - asset: assets/fonts/Satoshi-BoldItalic.otf weight: 700 style: italic - asset: assets/fonts/Satoshi-Italic.otf style: italic - asset: assets/fonts/Satoshi-Light.otf weight: 300 - asset: assets/fonts/Satoshi-LightItalic.otf weight: 300 style: italic - asset: assets/fonts/Satoshi-Medium.otf weight: 500 - asset: assets/fonts/Satoshi-MediumItalic.otf weight: 500 style: italic - asset: assets/fonts/Satoshi-Regular.otf weight: 400 ```

Additional context and comments

No response

sujithequipohealth commented 1 week ago

I downgraded the packages COCOAPODS: 1.15.2 firebase_messaging: 15.1.3 firebase_core: 3.6.0, then push notification working fine

sujithequipohealth commented 1 week ago

The issue is with this version firebase_messaging: 15.1.4 firebase_core: 3.7.0

SelaseKay commented 1 week ago

Hi @sujithequipohealth, I wasn't able to reproduce the issue using the current firebase_messaging example app. I successfully received a test notification sent from the Firebase console. Could you share how you're sending your notifications?

google-oss-bot commented 23 hours ago

Hey @sujithequipohealth. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!