Skip to content

Commit 7d02831

Browse files
authored
Merge pull request #133 from adamk22/master
Remove references to push for android
2 parents d012d9e + 8f8b18c commit 7d02831

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/android/MixpanelPlugin.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ private enum Action {
4545
PEOPLE_APPEND("people_append"),
4646
PEOPLE_DELETE_USER("people_deleteUser"),
4747
PEOPLE_INCREMENT("people_increment"),
48-
PEOPLE_SET_PUSH_ID("people_setPushId"),
4948
PEOPLE_SET("people_set"),
5049
PEOPLE_SET_ONCE("people_set_once"),
5150
PEOPLE_TRACK_CHARGE("people_track_charge"),
@@ -119,8 +118,6 @@ public boolean execute(String action, JSONArray args, final CallbackContext cbCt
119118
return handlePeopleDeleteUser(args, cbCtx);
120119
case PEOPLE_INCREMENT:
121120
return handlePeopleIncrement(args, cbCtx);
122-
case PEOPLE_SET_PUSH_ID:
123-
return handlePeopleSetPushId(args, cbCtx);
124121
case PEOPLE_SET:
125122
return handlePeopleSet(args, cbCtx);
126123
case PEOPLE_SET_ONCE:
@@ -328,14 +325,6 @@ private boolean handlePeopleSetOnce(JSONArray args, final CallbackContext cbCtx)
328325
}
329326

330327

331-
private boolean handlePeopleSetPushId(JSONArray args, final CallbackContext cbCtx) {
332-
String pushId = args.optString(0);
333-
mixpanel.getPeople().setPushRegistrationId(pushId);
334-
cbCtx.success();
335-
return true;
336-
}
337-
338-
339328
private boolean handlePeopleTrackCharge(JSONArray args, final CallbackContext cbCtx) {
340329
Double amount = args.optDouble(0);
341330
JSONObject properties = args.optJSONObject(1);

0 commit comments

Comments
 (0)