6

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.

  • Using the Console's push notification for specific devices (user segment) should work if sending to a specific device works. How do you know that user segment doesn't work? Perhaps the push is just not being received, remember a push notification is not 100% reliable, it can be delayed and even be failed to be received. :) Ps. remember to select one answer that answers your question. – Glenn Posadas Oct 09 '17 at 16:28
  • @Glenn I did wanted to upvote your previous question's answer but I believe I don't have enough credits to do so. :( – Heckyl Technologies Oct 10 '17 at 05:24
  • With regards to the above question, I am continuously trying to send notification to the bundle id (as user segment) but I never receive the notification. But on contrary to it while sending using FCM token to single device it works. – Heckyl Technologies Oct 10 '17 at 05:31
  • You can select an answer though. Anyways, I never had such problem when pushing using user segment. Have you double checked your projects' bundle ids? Check every ids of your project registered in any of your certificates, developer.apple.com, firebase, google plist in Xcode, Xcode, etc... – Glenn Posadas Oct 10 '17 at 06:58
  • @HeckylTechnologies, i am facing same problem, have you got any solution then please share with us – Ravi Ojha Oct 17 '17 at 12:26
  • I am also facing same problem ... – Krunal Darji Oct 18 '17 at 17:15
  • I also have the same problem. – Jed Soane Oct 20 '17 at 03:42
  • same problem my side – Mashhadi Oct 26 '20 at 19:46

1 Answers1

2

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.

Joe
  • 131
  • 10