Skip to content

Commit

Permalink
add missing events and view names on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
dtroupe-plaid committed Sep 12, 2024
1 parent 4b5174f commit 381d3ff
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ios/RNLinksdk.mm
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,24 @@ + (NSString *)stringForEventName:(PLKEventName *)eventName {
return @"LAYER_READY";
case PLKEventNameValueLayerNotAvailable:
return @"LAYER_NOT_AVAILABLE";
case PLKEventNameValueSubmitEmail:
return @"SUBMIT_EMAIL";
case PLKEventNameValueSkipSubmitEmail:
return @"SKIP_SUBMIT_EMAIL";
case PLKEventNameValueRememberMeEnabled:
return @"REMEMBER_ME_ENABLED";
case PLKEventNameValueRememberMeDisabled:
return @"REMEMBER_ME_DISABLED";
case PLKEventNameValueRememberMeHoldout:
return @"REMEMBER_ME_HOLDOUT";
case PLKEventNameValueSelectSavedInstitution:
return @"SELECT_SAVED_INSTITUTION";
case PLKEventNameValueSelectSavedAccount:
return @"SELECT_SAVED_ACCOUNT";
case PLKEventNameValueAutoSelectSavedInstitution:
return @"AUTO_SELECT_SAVED_INSTITUTION";
case PLKEventNameValuePlaidCheckPane:
return @"PLAID_CHECK_PANE";
}
return @"unknown";
}
Expand Down Expand Up @@ -632,6 +650,10 @@ + (NSString *)stringForViewName:(PLKViewName *)viewName {
return @"SELECT_SAVED_ACCOUNT";
case PLKViewNameValueProfileDataReview:
return @"PROFILE_DATA_REVIEW";
case PLKViewNameValueSubmitEmail:
return @"SUBMIT_EMAIL";
case PLKViewNameValueVerifyEmail:
return @"VERIFY_EMAIL";
}

return @"unknown";
Expand Down

0 comments on commit 381d3ff

Please sign in to comment.