Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove references to push for android #133

Merged
merged 1 commit into from
Aug 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions src/android/MixpanelPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ private enum Action {
PEOPLE_APPEND("people_append"),
PEOPLE_DELETE_USER("people_deleteUser"),
PEOPLE_INCREMENT("people_increment"),
PEOPLE_SET_PUSH_ID("people_setPushId"),
PEOPLE_SET("people_set"),
PEOPLE_SET_ONCE("people_set_once"),
PEOPLE_TRACK_CHARGE("people_track_charge"),
Expand Down Expand Up @@ -119,8 +118,6 @@ public boolean execute(String action, JSONArray args, final CallbackContext cbCt
return handlePeopleDeleteUser(args, cbCtx);
case PEOPLE_INCREMENT:
return handlePeopleIncrement(args, cbCtx);
case PEOPLE_SET_PUSH_ID:
return handlePeopleSetPushId(args, cbCtx);
case PEOPLE_SET:
return handlePeopleSet(args, cbCtx);
case PEOPLE_SET_ONCE:
Expand Down Expand Up @@ -328,14 +325,6 @@ private boolean handlePeopleSetOnce(JSONArray args, final CallbackContext cbCtx)
}


private boolean handlePeopleSetPushId(JSONArray args, final CallbackContext cbCtx) {
String pushId = args.optString(0);
mixpanel.getPeople().setPushRegistrationId(pushId);
cbCtx.success();
return true;
}


private boolean handlePeopleTrackCharge(JSONArray args, final CallbackContext cbCtx) {
Double amount = args.optDouble(0);
JSONObject properties = args.optJSONObject(1);
Expand Down