Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS : Firebase notification not working for user segment

I recently upgraded my project to Swift3 and updated Firebase pod to version 4.0.0. After resolving all the errors and warnings, when I tried to send push notification from console. I found the single device push notification sending is working fine. However, sending to specific user segment is not; which I need most for my application. While sending push to user segment I am simply checking the iOS bundle id and trying to send all of the devices in which the app is installed.

like image 381
Heckyl Technologies Avatar asked Oct 09 '17 15:10

Heckyl Technologies


1 Answers

I'm not sure of this is what did it but mine started working after I added my App Store ID to the GoogleService-Info.plist section of my Firebase project. Individual device notifications always worked but I could never get "bulk" notifications to work properly until I added that.

I didn't have to redownload the .plist file and add it to my app either. Simply adding the ID to the Firebase configuration page appears to have made it work.

like image 192
Joe Avatar answered Oct 04 '22 21:10

Joe