You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Method createAlias should accept two parameters; Update Android SDK to 5.6.8; Check against potential NPE (davide-scalzo#207)
* Update Android SDK to 5.6.0
* Lock iOS podspec to 3.4.4
* Updater package
* Update Readme
* Change implementation to api within gradle build
* Update iOS Mixpanel to 3.4.5
* Lock iOS podspec to 3.4.5
* Update npm version
* Update gitignore - add prefs and vsc project
* Update index.d.ts - add clearSuperProperties
* Add support for clearing a single registration id on Android
* Udpate index.d.ts
* [iOS] Pass deviceToken as string to `removePushDeviceToken` as it's convinient way to de-register iOS device
* Update readme
* Update npm version
* Update README.md
* [Android] Retrieves current Firebase Cloud Messaging token
* Update readme.md and index.d.ts
* [Android] Add getPushRegistrationId
* Add missing definition
* Update README.md
* Update definitions and error messages
* Update Android SDK to 5.6.3
* Update iOS podspec to 3.4.7
* Update npm version
* Update dependencies version
* [iOS] Podspec should take velues from package.json
* Added support for tvOS
* Add append method; update readme.md
* Update Mixpanel.h
* Added fine grained in-app message control
* Add Opting Out / In
The later versions of Mixpanel have the ability to opt in/out of collecting data for GDPR purposes. This adds support for those as well as updating the Mixpanel library.
* Update version
* Update doc
* Add information about Autolinking
* Add missing Platform import
* Update readme; add changelog
* Expose iOS params that can be passed on Mixpanel instance initalization: trackCrashes, automaticPushTracking, launchOptions
* Fix typo
* [iOS] Add missing MixpanelType.h file
* Method createAlias should accept two parameters
* Update mixpanel-android to 5.6.8
* Update package.json
* Update CHANGELOG.md
* Update README.md
* Add check against potential NPE
* Update package.json
* Update CHANGELOG.md
Co-authored-by: Davide Scalzo <scalzodavide@yahoo.it>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,20 @@
1
+
# 1.1.14
2
+
3
+
-[Android] Add check against potential NPE
4
+
- Update Readme
5
+
6
+
# 1.1.13
7
+
8
+
-[Android] Update mixpanel-android SDK to 5.6.8
9
+
10
+
# 1.1.12
11
+
12
+
- 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.
//Create Alias from unique id, i.e. create a new mixpanel profile: to call when a user signs up, with a unique id that is not used by another mixpanel profile as param
138
+
//Create Alias from unique id, i.e. create a new mixpanel profile: to call when a user signs up, with a unique id that is not used by another mixpanel profile as param
139
139
Mixpanel.createAlias(UNIQUE_ID)
140
140
141
-
//Identify, i.e. associate to an existing mixpanel profile: to call when a user logs in and is already registered in Mixpanel with this unique id
141
+
// OR:
142
+
143
+
// Create an alias, which Mixpanel will use to link two distinct_ids going forward (not retroactively). Multiple aliases can map to the same original ID, but not vice-versa.
144
+
// Aliases can also be chained - the following is a valid scenario:
145
+
Mixpanel.createAlias('new_id', 'existing_id');
146
+
...
147
+
Mixpanel.createAlias('newer_id', 'new_id');
148
+
// If the original ID is not passed in, we will use the current distinct_id - probably the auto-generated GUID.
149
+
// Notes:
150
+
// The best practice is to call createAlias() when a unique ID is first created for a user (e.g., when a user first registers for
151
+
// an account and provides an email address). createAlias() should never be called more than once for a given user, except to chain
152
+
// a newer ID to a previously new ID, as described above.
153
+
// More info about createAlias: https://developer.mixpanel.com/docs/javascript-full-api-reference#section-mixpanel-alias
154
+
155
+
// Identify, i.e. associate to an existing mixpanel profile: to call when a user logs in and is already registered in Mixpanel with this unique id
142
156
Mixpanel.identify(UNIQUE_ID)
143
157
144
-
//Set People properties (warning: if no mixpanel profile has been assigned to the current user when this method is called, it will automatically create a new mixpanel profile and the user will no longer be anonymous in Mixpanel)
158
+
//Set People properties (warning: if no mixpanel profile has been assigned to the current user when this method is called, it will automatically create a new mixpanel profile and the user will no longer be anonymous in Mixpanel)
145
159
Mixpanel.set({"$email":"elvis@email.com"});
146
160
147
-
//Set People Properties Once (warning: if no mixpanel profile has been assigned to the current user when this method is called, it will automatically create a new mixpanel profile and the user will no longer be anonymous in Mixpanel)
161
+
//Set People Properties Once (warning: if no mixpanel profile has been assigned to the current user when this method is called, it will automatically create a new mixpanel profile and the user will no longer be anonymous in Mixpanel)
0 commit comments