-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix callback concurrency issues; ensure more methods will resolve cal…
…lbacks; do a best-case handling for userCompletedAction; update readme 1. No more class-level callbackContext; individual callbackContexts are passed between methods to ensure we don’t clobber the callbackContext with two concurrent calls to execute() 2. logout, registerView, and userCompletedAction were missing callback resolutions, so I added those. userCompletedAction’s logic is not completely correct as it will always (early) resolve to “success” but Branch.java in the Branch SDK does not expose a method that takes in a listener for userCompletedAction that I saw. 3. Fixed CreditHistoryListener to reject a promise if there was a JSON exception 4. Added properly evaluated callback to setIdentity 5. Updated Readme.md to match code for installation
- Loading branch information
1 parent
e815d87
commit fee133c
Showing
2 changed files
with
209 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.