From af6a363e437d20cdb318cd165d336c005cb2e785 Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Fri, 29 Jul 2016 01:15:53 +0900 Subject: [PATCH] Mention that you should set up your ADB key before using the remoteConnect API. --- doc/API.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/API.md b/doc/API.md index 49a21fe5..0f752aa2 100644 --- a/doc/API.md +++ b/doc/API.md @@ -278,6 +278,8 @@ clientWithPromise.then(function(api) { Allows you to retrieve the remote debug URL (i.e. an `adb connect`able address) for a device the authenticated user controls. +_Note that if you haven't added your ADB key to STF yet, the device may be in unauthorized state after connecting to it for the first time. We recommend you make sure your ADB key has already been set up properly before you start using this API. You can add your ADB key from the settings page, or by connecting to a device you're actively using in the UI and responding to the dialog that appears._ + ```bash POST /api/v1/user/devices/{serial}/remoteConnect ```