Skip to content

Commit 5021ff6

Browse files
committed
Release 1.2.2
1 parent 13921b6 commit 5021ff6

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.2.2
2+
3+
- [Android] Fix crash with initPushHandling(). More info: https://github.com/mixpanel/mixpanel-android/pull/582
4+
15
# 1.2.1
26

37
- [Android] Update SDK to 5.8.1 (https://github.com/mixpanel/mixpanel-android/releases/tag/v5.8.1) Check referrer changes on: https://github.com/mixpanel/mixpanel-android/releases/tag/v5.8.0

android/src/main/java/com/kevinejohn/RNMixpanel/RNMixpanelModule.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,9 @@ public void clearSuperProperties(final String apiToken, Promise promise) {
266266
public void initPushHandling (final String token, final String apiToken, Promise promise) {
267267
final MixpanelAPI instance = getInstance(apiToken);
268268
synchronized(instance) {
269-
instance.getPeople().initPushHandling(token);
269+
// REMOVED: https://github.com/mixpanel/mixpanel-android/pull/582
270+
// is not needed any more as it uses FCM
271+
// instance.getPeople().initPushHandling(token);
270272
}
271273
promise.resolve(null);
272274
}

0 commit comments

Comments
 (0)