Even after fcm server key and devicetoken in $android_device manually , we are unable to send push notification to our users. i've tried everything but still could not succeed.
Here is a general guide on debugging push notifications, but I would love to get youa more tailored solution. Can you tell me more about the specific issue that you are running into?
You mentioned that "no users show up in mixpanel filters" which sounds like you are having trouble targeting profiles when you build a Mixpanel Message - is that correct?
Do the users targeted have push tokens in the $ios_devices or $android_devices properties?
If push notifications aren’t reaching a user with one of these properties in their profile, Check:
Push tokens are stored as strings in a list property
If any other profiles shares the push tokens (if multiple profiles share one push token, then the notification sent event will appear on the profile that was eligible for the notification. The push open event (or any other events the user actually did) could appear on a different profile.
Is the $ios_devices property an empty list?
You can check this by filtering for $ios_devices is set and is $ios_devices is false
If ios_devices property an empty list, APNS has indicated that the push tokens on the profile were no longer valid. This can happen if the user uninstalled their app, or if the certificate uploaded to the project does not match the certificate used to generate the push token. These possibilities are documented here.
Are the tokens valid?
To determine if the tokens are valid or invalid, here is a great resource
Please let me know what you are specifically working on and we can dive deeper into the possibilities of what may be going on.
I have also never gotten it to work properly. Tried months ago and it never worked, saw there was a library update specifically for the implementation via Firebase so I tried again with this new version, still nothing.
Sent so many emails to support and no luck at all.
Works fine from firebase but no users show up in mixpanel filters. Ive tried setting up additional steps like default channels but still nothing.
I am using an isolated testing environment with 1 registered device to test.
I am targeting one specific device. I have looked at that article u have linked, and it is totally not related to my point. I am not receiving push notifications. Nothing to do with tracking.
I have tested the same procedure on iOS, and it is working. I have tested the android push token retrieved from mix panel against FCM test messaging tool and it is sending notifications to my phone as well. I have tested the android push token retrieved from mix panel against https://fcm.googleapis.com/fcm/send and managed to receive notifications on my phone as well. All is working except using send notifications through mixpanel.
i have done everything still it has not been fixed.
Please guide me how to send push notificationn to android users.
which one is the correct format ?
prop.put("$android_devices" , "[\""+tokein+"\"]")
prop.put("$android_devices" , "["+tokein+"]")
i tried both methods but still it's not working.
please fix it asap.
Are you seeing specific errors?
Or, are not seeing the push in the expected device?
Or, are you not seeing a Message sent event in the user's activity feed or in your Message analytics?
I hope this helps point you in the right direction!
I am encountering the same problem as well.
The push tokens are successfully unioned into the user profile.
We also tested the token to be working by copying the token from mixpanel, then use:
https://console.firebase.google.com/project/xxxxxxxxxxxx/notification/compose to send them out.
Can any admin shed some light on how to troubleshoot this further?
Did you miss the live Webinar?
Join Corinne Pellows, Sr. User Success Lead at PatientPing, as she shares how her team uses data and messaging to create better customer experiences.