-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mixpanel messaging support . #91
Comments
hi @scdyn , sry for the delayed message. I missed the email notification for this issue. To let the app receive notifs, for android for example, a I deliberately avoided implementing this because this doesn't play well nice with the more common way of handling push notifs aka PhoneGap Push Plugin. cordova and plugin.xml have evolved a bit since a couple of years ago so maybe we can find a nice conditional way to implement this and make it optional via some plugin installation flag. I'll try looking into it but dont see it being in the codebase anytime in next month or two. other than that, I checked the mixpanel reference for in-app messages at:
looks like ios&android work a little differently, which would mean more effort needed to integrate this... |
FYI, iPhone works great with both in-app and push notifications here in conjunction with the PhoneGap Push Plugin. I am having issues with Android and I think it might be related to not calling Other than that, it should just be setting up the permissions and such but I have not tried it yet. I will come back here if I have any success. |
I was able to get push notifications working for android by adding in the required configuration into |
First of all, thanks for creating and maintaining this great plugin! |
If anyone has gotten this to work for push messaging on iOS and Android, could you please tell me how? |
Messaging support would be great! Even if it's just the ability to call a callback handler for the message features or the ability to track opened messages manually. |
Hai @samzilverberg I am able to get InApp messages with delay. But i am not able to receive Push notifications. Could you please let me know Pushnotifications will work with Mixpanel cordova? |
yes push notifications work. |
Yes @samzilverberg , its now working for me , But after logout the application i am not able to clear the pushtoken. I have searched the plugin that it does not provide any method to remove the pushtoken from mixpanel. Is there any function to clear that push token in mixpanel? |
@tamsel12 your'e right. i'll see if i can add these fns to the plugin soon. |
To support some of the mp messaging features I did this. If useful to someone.
|
Besides event tracking and analytics, Mixpanel allows for InApp messaging and push notifications.
The entry point of their SDK to such features are MixpanelAPI.getPeople().getNotificationIfAvailable() and .initPushHandling()
AFAIK, the cordova-mixpanel-plugin doesn't support these, meaning that the plugin doesn't support messaging yet.
Am I wrong ? Any plan regarding messaging support ?
The text was updated successfully, but these errors were encountered: