tantan
|
15f806957f
|
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 https://github.com/facebook/react-native/pull/4792
Reviewed By: svcscm
Differential Revision: D2844937
Pulled By: nicklockwood
fb-gh-sync-id: 19953807ff07238e6a6ef5aedf1a3fcbca7e62a1
|
2016-01-20 10:54:32 -08:00 |