Skip to content
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

angular-mixpanel doesnot work in Android App built with Ionic Cordova #29

Open
Sajan129 opened this issue Aug 2, 2016 · 1 comment
Open

Comments

@Sajan129
Copy link

Sajan129 commented Aug 2, 2016

mixpanel doesnot work in Android app built with ionic cordova. The CDN address provided in mixpanel-jslib-snippet.min.js is "//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js". In android, this file is searched in local device.
I made it to work by adding HTTP protocol "http://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js". in jslib-snippet.min.js. The problem is I have to do this in each device.

Is there a way to do this in proper way??

@lay-z
Copy link

lay-z commented Dec 13, 2016

I added the protocol in manually but then proceeded to get a ERR_CONNECTION_REFUSED

Even though i've added a while card policy for origin and have updated my content-security-policy to include all possible hosts :( i am dying here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants