Summary: Making the default people see when they look at the module the Promise based version public Reviewed By: davidaurelio Differential Revision: D2850048 fb-gh-sync-id: e0815983ed798c202047cb071e65ce63a52fd1af
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
Summary: add Clipboard component for ios and android ```javascript import Clipboard from 'react-native' Clipboard.get((content)=>{ console.log('here is content in clipboard:%s',content) }); var content = 'here is a string'; Clipboard.set(content); ``` Closes https://github.com/facebook/react-native/pull/4384 Reviewed By: svcscm Differential Revision: D2738881 Pulled By: mkonicek fb-gh-sync-id: a06df32d1eb2824cc9ca3de9d45e4e67fd2edbc9