davide-scalzo / react-native-mixpanel

A React Native wrapper for Mixpanel tracking
MIT License
455 stars 195 forks source link

Add push / registration methods; update readme and typescript defs; add tvOS support, update iOS and Android SDK; make podspec package.json driven; add fine grained in-app message control; add opt in / out tracking; add autolinking information; Expose iOS params that can be passed on Mixpanel instance initalization: trackCrashes, automaticPushTracking, launchOptions; add Changelog #180

Closed lorenc-tomasz closed 4 years ago

lorenc-tomasz commented 5 years ago

[Android] Allow to retrieve current Firebase Cloud Messaging token. [Android] Add support for clearing a single registration id on Android [iOS] Pass deviceToken as string to removePushDeviceToken as more convenient way [General] Update Readme.md [General] Update index.d.ts [General] Update npm package version

lorenc-tomasz commented 4 years ago

@lorenc-tomasz I have been trying to get this all linked up on my iOS React Project. When i #import the Mixpanel.h file into my iOS app delegtate it is telling me it cant find it. Am i missing a step?

Why you #import the Mixpanel.h into app delegate? It's not necessary. From RN 0.60 the auto-linking feature works out of the box.

lorenc-tomasz commented 4 years ago

@aakashsigdel Could you look into this PR and merge it?