Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove default callback function from
setExternalUserId
Motivation: this default callback isn't necessary because in the Java bridge the callback parameter is of type `final` which is `nullable`. This was prompted by the need for a workaround for a crash caused by having the external id and email set. If both are set, currently the native SDK triggers the `onSuccess` of each setter method to fire independently which is causing the passed in callback to fire twice, which is prohibited by React Native (crashes).
- Loading branch information