react-native/local-cli/server/util
Sai Grandhi 0fe0fc038b Make copy button work on android emulator in Linux using xsel
Summary:
Resolves issue [#13165](https://github.com/facebook/react-native/issues/13165). The copy button in the redbox for RN android is not currently supported for Linux. This pull request provides the copy button functionality to Linux RN users.

I have tested the updated code locally.
Firstly, I edited `index.android.js` that caused the following error.
![pasted image at 2017_03_27 10_21 am](https://cloud.githubusercontent.com/assets/22376429/24426834/f567c5dc-13d6-11e7-8e3b-a650e2f6237c.png)
After I clicked the copy button and pasted from the clipboard into the chrome address bar, the message appeared.
![pasted_image_at_2017_03_27_10_21_am](https://cloud.githubusercontent.com/assets/22376429/24426896/2c0d4d64-13d7-11e7-8650-da19c44b177d.png)
Closes https://github.com/facebook/react-native/pull/13188

Differential Revision: D4819796

Pulled By: ericvicenti

fbshipit-source-id: 9adc6e93330f89240a505a403e4913dc10e5a31f
2017-04-04 10:20:19 -07:00
..
external Make copy button work on android emulator in Linux using xsel 2017-04-04 10:20:19 -07:00
attachHMRServer.js packager: get rid of type `any` in ResolutionRequest 2017-04-04 07:15:23 -07:00
copyToClipBoard.js Make copy button work on android emulator in Linux using xsel 2017-04-04 10:20:19 -07:00
debugger.html RN: Add "Maintain Priority" Checkbox 2017-03-28 18:50:56 -07:00
debuggerWorker.js RN: Show Warning for Background Remote Debuggers 2016-10-31 11:29:57 -07:00
inspectorProxy.js Guard against small window where sending a message can crash the packager 2017-02-10 09:30:08 -08:00
jsPackagerClient.js BREAKING: Change the js1 - packager - RN App protocol to version 2 2017-02-16 04:30:00 -08:00
launchChrome.js Allow launching inspector from dev menu 2016-11-15 08:59:02 -08:00
launchEditor.js Add Atom Beta to launchEditor 2017-04-03 09:15:29 -07:00
messageSocket.js Extract PackagerConnectionSettings to ensure easier reusability of PackagerConnection module 2017-03-17 10:02:34 -07:00
webSocketProxy.js Improve Chrome debugger 2016-02-05 15:17:33 -08:00