You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
I managed to integrate the library with my current project.
In-app messages work for iOS and Android, and notifications work on an Android emulator. But I can't get Push Notifications to work on iOS.
I followed the official guide, created an SSL production and development APN certificate and uploaded both to my MixPanel project. I've used expo's Notification library to retrieve the device APN token and passed it to Mixpanel.addPushDeviceToken(token.data) after i have called Mixpanel.identifiy(userid). But it doesn't want to add the $ios_devices key to my mixpanel profile, based on what's suggested here I tried using Mixpanel.set({$ios_devices:token.data}) but that also hasn't worked even when trying to use set twice based on #196, not even on Android.
We're already using @segment/analytics-react-native for analytics and segment/analytics-react-native-mixpanel from before and we have our users' profile set up with that. Could this be a cause for the issues?
I've hit a roadblock trying to solve these, so I hope I can find some help here.
The text was updated successfully, but these errors were encountered:
@SamyOptimize did you have any luck with getting Mixpanel.set() to work? My events are being tracked fine but none of my user properties. Using React Native
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I managed to integrate the library with my current project.
In-app messages work for iOS and Android, and notifications work on an Android emulator. But I can't get Push Notifications to work on iOS.
I followed the official guide, created an SSL production and development APN certificate and uploaded both to my MixPanel project. I've used expo's Notification library to retrieve the device APN token and passed it to
Mixpanel.addPushDeviceToken(token.data)
after i have calledMixpanel.identifiy(userid)
. But it doesn't want to add the $ios_devices key to my mixpanel profile, based on what's suggested here I tried usingMixpanel.set({$ios_devices:token.data})
but that also hasn't worked even when trying to useset
twice based on #196, not even on Android.We're already using
@segment/analytics-react-native
for analytics andsegment/analytics-react-native-mixpanel
from before and we have our users' profile set up with that. Could this be a cause for the issues?I've hit a roadblock trying to solve these, so I hope I can find some help here.
The text was updated successfully, but these errors were encountered: