Jonathan Kim and Facebook Github Bot
4f2cc42a2d
Make xplat react native files buildable
...
Reviewed By: mzlee
Differential Revision: D6605611
fbshipit-source-id: baa33947319a27b95020924d177a9398a276dabe
2018-01-21 22:05:05 -08:00
Marc Horowitz and Facebook Github Bot
0b2ac0ada8
Support narrower module dependencies
...
Reviewed By: javache
Differential Revision: D4772632
fbshipit-source-id: 615bf8998a3817364d0f8bd435c95c2c1f1bebed
2017-03-31 01:00:52 -07:00
Michael Bolin and Facebook Github Bot
48cb932c6e
Apply auto-formatter for BUCK files in fbandroid.
...
fbshipit-source-id: 278ce6f67f5df830b2218e3aca69be103d3c56a6
2017-02-27 14:04:56 -08:00
Delyan Kratunov and Facebook Github Bot
1f78ea326e
Remove unnecessary project_config
...
Differential Revision: D4326949
fbshipit-source-id: d0e8d7c3a046a89e5794be602a406ea914de50d1
2016-12-15 09:29:16 -08:00
Aaron Chiu and Facebook Github Bot 2
3d1b79cd15
covert RNFeedPackage and it's modules to use @ReactModule and @ReactModuleList
...
Reviewed By: lexs
Differential Revision: D3796860
fbshipit-source-id: d4b5f3635754ef28277b79cb1ea9bab07ba3ea6e
2016-09-02 16:28:43 -07:00
Aaron Chiu and Facebook Github Bot 7
705daabbb1
Reverted commit D3334273
...
Reviewed By: astreet
Differential Revision: D3334273
fbshipit-source-id: a3849604ea89db74900850c294685e7da9aeeacc
2016-08-12 15:58:31 -07:00
Aaron Chiu and Facebook Github Bot 2
c64213653e
Convert modules to use @ReactModule instead of getName()
...
Reviewed By: astreet
Differential Revision: D3334273
fbshipit-source-id: a33bf72c5c184844885ef3ef610a05d9c102c8ea
2016-08-11 15:58:43 -07:00
Sakari Tuominen and Facebook Github Bot 3
85d2086321
Fix a bug, if clipData is null we can not ask getItemCount() from it
...
Summary:
I ran into problems when using Clipboard.getString() in Android. The method seems to work fine when there is *something* in the clipboard, but when it's empty the app crashes. I think I've tracked down the bug to ClipboardModule.java@58.
When clipData is null, the promise is resolved with an empty string. However, after that the rest of the block is executed. There should be a return or an 'else if' like in my pr.
Screenshot of the error message when clipboard is empty:

Closes https://github.com/facebook/react-native/pull/7527
Differential Revision: D3292232
fbshipit-source-id: d2191286c49ee31233203fab4648449964b9d950
2016-05-12 01:45:21 -07:00
Martin Konicek
581434ac04
Add BUCK files
2016-01-22 16:20:13 +00:00
tantan and facebook-github-bot-5
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
Satyajit Sahoo
4bbb0f4c16
Revert "Remove unused ApplicationContext fetch"
2016-01-20 07:16:33 +05:30
Vipul A M
85bf2073f1
Remove unused ApplicationContext fetch
2016-01-17 23:16:51 +05:30
tantan and facebook-github-bot-4
90c7ad112f
add Clipboard component for ios and android
...
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
2015-12-09 10:04:21 -08:00