We’re trying to implement an app that uses Mixpanel to send data when the users change between different views in the app, in order to see how many users drop off at each step before the purchase is done, using angular-mixpanel. This works great when testing locally with ionic serve, unfortunately it does not longer work when I run it on my Galaxy S3. Nothing is reported to the mixpanel server when I change views. I have tested the program with packet capture, and it does appear that no data is sent to the mixpanel servers at all, so the $mixpanel.track function calls do nothing, even though the rest of the controller code works just fine. Oddly enough, it did work earlier when I run the program with “ionic run android -l -s -c” with an added console.log for the $mixpanel.track output.
I’m running Ionic 1.5.0 and Cordova 5.1.1. The test phone is a standard Samsung Galaxy S3 with Android 4.3.