OneSignal-Flutter-SDK icon indicating copy to clipboard operation
OneSignal-Flutter-SDK copied to clipboard

[Bug]: unable to receive push notifications after installing flutter_local_notifications

Open nebis-software opened this issue 1 year ago • 2 comments

What happened?

Hi, after installing the latest flutter_local_notifications with full setup, I am not able anymore to receive push notifications...

Do you know how to solve this? thanks!

Steps to reproduce?

install   onesignal_flutter: ^5.2.9
install  flutter_local_notifications: ^18.0.1

What did you expect to happen?

I should be able to see both local and push notifications

OneSignal Flutter SDK version

5.2.9

Which platform(s) are affected?

  • [x] iOS
  • [x] Android

Relevant log output


Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

nebis-software avatar Jan 27 '25 10:01 nebis-software

Hi @nebis-software thanks for reaching out.

To confirm, you are seeing this on both Android and iOS?

I'm finding some past issues such as https://github.com/OneSignal/OneSignal-Flutter-SDK/issues/591 reported with using flutter_local_notifications. Can you check out the suggestions and see if any of them work for you?

nan-li avatar Feb 20 '25 00:02 nan-li

I have already updated AppDelegate.swift with the guidelines in https://github.com/MaikuB/flutter_local_notifications/tree/master/flutter_local_notifications#-ios-setup

I see the issue is both in Android and iOS - are you able to replicate? Thanks

nebis-software avatar Feb 20 '25 09:02 nebis-software