davide-scalzo / react-native-mixpanel

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

Method createAlias should accept two parameters; Update Android SDK to 5.6.8; Check against potential NPE #207

Closed lorenc-tomasz closed 4 years ago

lorenc-tomasz commented 4 years ago

Method createAlias should accept two parameters (https://developer.mixpanel.com/docs/javascript-full-api-reference#section-mixpanel-alias). Second parameter is optional to keep backward compatabiluty. Will fallback to distinctID generated by mixpanel instance.

Fixes https://github.com/davodesign84/react-native-mixpanel/issues/205

ghost commented 4 years ago

DeepCode Report (#6972e3)

DeepCode analyzed this pull request. There are no new issues. 1 info report was fixed.