@@ -45,7 +45,6 @@ private enum Action {
45
45
PEOPLE_APPEND ("people_append" ),
46
46
PEOPLE_DELETE_USER ("people_deleteUser" ),
47
47
PEOPLE_INCREMENT ("people_increment" ),
48
- PEOPLE_SET_PUSH_ID ("people_setPushId" ),
49
48
PEOPLE_SET ("people_set" ),
50
49
PEOPLE_SET_ONCE ("people_set_once" ),
51
50
PEOPLE_TRACK_CHARGE ("people_track_charge" ),
@@ -119,8 +118,6 @@ public boolean execute(String action, JSONArray args, final CallbackContext cbCt
119
118
return handlePeopleDeleteUser (args , cbCtx );
120
119
case PEOPLE_INCREMENT :
121
120
return handlePeopleIncrement (args , cbCtx );
122
- case PEOPLE_SET_PUSH_ID :
123
- return handlePeopleSetPushId (args , cbCtx );
124
121
case PEOPLE_SET :
125
122
return handlePeopleSet (args , cbCtx );
126
123
case PEOPLE_SET_ONCE :
@@ -328,14 +325,6 @@ private boolean handlePeopleSetOnce(JSONArray args, final CallbackContext cbCtx)
328
325
}
329
326
330
327
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
-
339
328
private boolean handlePeopleTrackCharge (JSONArray args , final CallbackContext cbCtx ) {
340
329
Double amount = args .optDouble (0 );
341
330
JSONObject properties = args .optJSONObject (1 );
0 commit comments