Skip to content

Latest commit

 

History

History
112 lines (68 loc) · 5.48 KB

CHANGELOG.md

File metadata and controls

112 lines (68 loc) · 5.48 KB

1.2.11

1.2.10

1.2.9

  • [Android] Fix an uncommon issue with this.getCurrentActivity returning null inside of showInAppMessageIfAvailable

1.2.8

  • Fix sharedInstanceWithToken method definition
  • Unify how reset() method works on iOS and Android. This change should close an issue: davide-scalzo#258 reset() method contains new params: flushOnReset and autoGenerateNewUniqueId and it is backward compatible. More in README.md

The old problem with reset() method:

Mixpanel introduced identity merge which allows you to call .identify(SOME_USER_ID) and Mixpanel will then merge the profiles for the id you pass in, in this case, SOME_USER_ID, and the anonymous id of the user prior to identification. This scenario is currently supported by this library. However, signing out causes some issues. This is because on signout Mixpanel recommends calling .reset() to get a new anonymous id for the current user. In this implementation, when we call .reset() we immediately call .identify() with a newly generated id, for ease-of-use. With calling .identify() on .reset() we are implicitly merging the newly generated id with the anonymous id. This causes problems because identity merge will not work on anonymous ids that have been already merged.

Solution:

Allow the user to pass a boolean to .reset() to toggle auto-identifying the user and to toggle auto-flush on reset.

Mixpanel's Identity Merge Flow

Mixpanel's Identity Merge Flow

1.2.7

1.2.6

  • Fix issue with showInAppMessageIfAvailable() that throws "Unhandled promise rejection", ReferenceError : Can't find variable: token

1.2.5

1.2.4

1.2.3

  • Use proper version within package.json

1.2.2

1.2.1

1.2.0

1.1.14

  • [Android] Add check against potential NPE
  • Update Readme

1.1.13

  • [Android] Update mixpanel-android SDK to 5.6.8

1.1.12

1.1.11

  • [iOS] Add missing file

1.1.10

  • Fix typo

1.1.9

  • Expose iOS params that can be passed on Mixpanel instance initalization: trackCrashes, automaticPushTracking, launchOptions
  • Update Typescript defs and readme

1.1.8

  • Add support for AppleTV
  • Add information about Autolinking from RN >= 0.60
  • Update podspec to be package.json driven
  • Add fine grained in-app message control
  • Update iOS SDK to 3.5.0
  • Update Android SDK to 5.6.5
  • Add opt in / opt out tracking option
  • Add push / registration methods
  • Update README
  • Update Typescript defs
  • Fix crash on clearPushRegistrationId