mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-20 16:25:31 +08:00
Add app name to inspector device url
Reviewed By: bnham, Hypuk Differential Revision: D5443705 fbshipit-source-id: 8c924948dd512be077e2f566da0cfc4110d5f843
This commit is contained in:
committed by
Facebook Github Bot
parent
90fad3c68b
commit
0d16c7c982
@@ -80,7 +80,7 @@ public class DevServerHelper {
|
||||
private static final String WEBSOCKET_PROXY_URL_FORMAT = "ws://%s/debugger-proxy?role=client";
|
||||
private static final String PACKAGER_STATUS_URL_FORMAT = "http://%s/status";
|
||||
private static final String HEAP_CAPTURE_UPLOAD_URL_FORMAT = "http://%s/jscheapcaptureupload";
|
||||
private static final String INSPECTOR_DEVICE_URL_FORMAT = "http://%s/inspector/device?name=%s";
|
||||
private static final String INSPECTOR_DEVICE_URL_FORMAT = "http://%s/inspector/device?name=%s&app=%s";
|
||||
private static final String SYMBOLICATE_URL_FORMAT = "http://%s/symbolicate";
|
||||
private static final String OPEN_STACK_FRAME_URL_FORMAT = "http://%s/open-stack-frame";
|
||||
|
||||
@@ -317,7 +317,8 @@ public class DevServerHelper {
|
||||
Locale.US,
|
||||
INSPECTOR_DEVICE_URL_FORMAT,
|
||||
mSettings.getPackagerConnectionSettings().getInspectorServerHost(),
|
||||
AndroidInfoHelpers.getFriendlyDeviceName());
|
||||
AndroidInfoHelpers.getFriendlyDeviceName(),
|
||||
mPackageName);
|
||||
}
|
||||
|
||||
public BundleDownloader getBundleDownloader() {
|
||||
|
||||
Reference in New Issue
Block a user