Closed gtu-myowin closed 2 years ago
Hi @gtu-myowin,
I imagine you're using onMessageReceivedInTheForeground
function to handle this notification. However, I'm afraid it's not possible to show as a normal notification, I guess, due to OS limitations. But I'd love to hear the use case and maybe I can help with that.
About the second question, could you please share a screenshot of this notification? I don't think I got your question. Are you saying that it's always showing the OS as the notification title on iOS?
Ok, I will show it as in-app notification.
What I mean is
If I send the notification from Beams' debug console (without the title) like this
on iOS, it shows as below. But on Android, the part I bordered with red is missing. Just a blank there. I hope you get my point this time.
The title is showing in my beams flutter app if I publish a notification without a title. Its possible your notification handling has somehow affected the android notification's title (although iOS app name shows fine). If you temporarily disable it, does the app name reappear?
@benjamin-tang-pusher Thank you for your reply. I believe the background notification is handled by the "pusher_beams" package. I did not put my hands there. I install the package, learnt the example app and adapt it to my app.
I will check the example app on my phone again. Thank you.
If your title still isn't showing the app name in the notification, please paste the code here, otherwise I will close this ticket.
I have two questions