-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return a Promise for
Clipboard.getString()
Summary: For clipboard, add error callback in Android. Code like ```javascript Clipboard.getString((content)=>{ //do something },(error)=>{ //do something for error }) ``` Closes #4792 Reviewed By: svcscm Differential Revision: D2844937 Pulled By: nicklockwood fb-gh-sync-id: 19953807ff07238e6a6ef5aedf1a3fcbca7e62a1
- Loading branch information
tantan
authored and
facebook-github-bot-5
committed
Jan 20, 2016
1 parent
1dffd05
commit 15f8069
Showing
4 changed files
with
61 additions
and
22 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
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
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
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
Just saw this. I think we should remove callback and check from arguments. I'm putting up a PR today for CameraRoll that also moves to promises tomorrow. I'll cc you on this so you can see it.