Closed bedirhanayydin closed 1 month ago
having the same problem
@MaikuB can you help us
Are you using FCM?
yes
There's your answer then. Please make sure you're distinguishing between FCM and this plugin that when you raise an issue and include code that it actually reproduces the issue specific to this plugin. The native APIs that the plugin don't behave differently based on if the app is in the foreground or not. A relatively easy way to reproduce this is schedule a notification using the plugin and kill the app so that the scheduled notification appears whilst the app is killed
My codes are above, where do you think I'm making a mistake?
This isn't about a coding mistake and I don't specifically help with debugging an individual's code. As mentioned in my previous post you'll need to make sure you understand how FCM works
Thank you, I actually understood the fcm, but I just didn't understand why the custom sound I get when the application is open does not play the same sound when the application is closed.
The same problem. iOS version 16.7.8, flutter_local_notifications version 16.3.3.
Thank you, I actually understood the fcm, but I just didn't understand why the custom sound I get when the application is open does not play the same sound when the application is closed.
What I said before still applies on making sure you understand FCM and would explain it. Please make sure you read the docs on how FCM works. Currently nothing you have provided has shown there to be an issue that relates to this plugin
use sound.caf to work success
Hello, the code I wrote works on both iOS and Android. On iOS, the custom notification sound plays when the app is in the foreground. However, when the app is in the background, notifications are received but the notification sound doesn't play. How can I solve this issue on iOS?