File tree 2 files changed +0
-27
lines changed
packages/react-native/ReactAndroid
src/main/java/com/facebook/react/devsupport
2 files changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -2095,7 +2095,6 @@ public class com/facebook/react/devsupport/DevServerHelper {
2095
2095
public fun getSourceUrl (Ljava/lang/String;)Ljava/lang/String;
2096
2096
public fun getWebsocketProxyURL ()Ljava/lang/String;
2097
2097
public fun isPackagerRunning (Lcom/facebook/react/devsupport/interfaces/PackagerStatusCallback;)V
2098
- public fun launchJSDevtools ()V
2099
2098
public fun openDebugger (Lcom/facebook/react/bridge/ReactContext;Ljava/lang/String;)V
2100
2099
public fun openInspectorConnection ()V
2101
2100
public fun openPackagerConnection (Ljava/lang/String;Lcom/facebook/react/devsupport/DevServerHelper$PackagerCommandListener;)V
Original file line number Diff line number Diff line change @@ -426,32 +426,6 @@ public void isPackagerRunning(final PackagerStatusCallback callback) {
426
426
}
427
427
}
428
428
429
- private String createLaunchJSDevtoolsCommandUrl () {
430
- return String .format (
431
- Locale .US ,
432
- "http://%s/launch-js-devtools" ,
433
- mPackagerConnectionSettings .getDebugServerHost ());
434
- }
435
-
436
- public void launchJSDevtools () {
437
- Request request = new Request .Builder ().url (createLaunchJSDevtoolsCommandUrl ()).build ();
438
- mClient
439
- .newCall (request )
440
- .enqueue (
441
- new Callback () {
442
- @ Override
443
- public void onFailure (@ NonNull Call call , @ NonNull IOException e ) {
444
- // ignore HTTP call response, this is just to open a debugger page and there is no
445
- // reason to report failures from here
446
- }
447
-
448
- @ Override
449
- public void onResponse (@ NonNull Call call , @ NonNull Response response ) {
450
- // ignore HTTP call response - see above
451
- }
452
- });
453
- }
454
-
455
429
public String getSourceMapUrl (String mainModuleName ) {
456
430
return createBundleURL (mainModuleName , BundleType .MAP );
457
431
}
You can’t perform that action at this time.
0 commit comments