davide-scalzo/react-native-mixpanel

addPushDeviceToken fails on Android (Windows 10) - TypeError: undefined is not a function (evaluating 'RNMixpanel.addPushDeviceToken(token, this.apiToken)')]

Closed this issue · 1 comments

addPushDeviceToken fails (even after having called sharedInstanceWithToken and identify) on Android. Any ideas?

{ [TypeError: undefined is not a function (evaluating 'RNMixpanel.addPushDeviceToken(token, this.apiToken)')]
  line: 96785,
  column: 45,
  sourceURL: 'http://10.0.2.2:8081/index.delta?platform=android&dev=true&minify=false' }

Thanks!

Mixed up the specific functions for Android and iOS!