From 5b2f1009435a4dc82e1824e7e3884661c4703cce Mon Sep 17 00:00:00 2001 From: Lawrence Lomax Date: Thu, 31 Jan 2019 03:47:28 -0800 Subject: [PATCH] Use `shell` - `su` chaining for 1-command of flipper.port Summary: Makes the command easier as this is a one-liner Reviewed By: passy Differential Revision: D13878049 fbshipit-source-id: 99477939e51524234ae06c42687ae3a2db31211e --- docs/custom-ports.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/custom-ports.md b/docs/custom-ports.md index a937f02ba..c70df6f88 100644 --- a/docs/custom-ports.md +++ b/docs/custom-ports.md @@ -17,11 +17,7 @@ FLIPPER_PORTS=1111,2222 ./flipper To configure the Android SDK for custom ports, set the `flipper.ports` prop to your chosen ports `1111,2222` like so, and then launch the Android app. ``` -adb shell -su -setprop flipper.ports 1111,2222 -exit -exit +adb shell su 0 setprop flipper.ports 1111,2222 ``` To configure the iOS SDK for custom ports, set the FLIPPER_PORTS environment variable in your app launch script.