Skip to content

Commit

Permalink
feat: remove internal remote debugger logic and use rn cli code
Browse files Browse the repository at this point in the history
  • Loading branch information
RafikiTiki committed May 6, 2024
1 parent b3b572a commit 98c9925
Show file tree
Hide file tree
Showing 25 changed files with 171 additions and 2,132 deletions.
6 changes: 5 additions & 1 deletion packages/TesterApp/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { Appearance } from 'react-native';
import { Appearance, Button } from 'react-native'

import { AppContainer } from './ui/AppContainer';
import { Section } from './ui/Section';
Expand All @@ -9,6 +9,7 @@ import { AsyncContainer } from './asyncChunks/AsyncContainer';
import { RemoteContainer } from './remoteChunks/RemoteContainer';
import { MiniAppsContainer } from './miniapp/MiniAppsContainer';
import { AssetsTestContainer } from './assetsTest/AssetsTestContainer';
import DeprecatedRemoteDebuggerContainer from './deprecatedRemoteDebugger/DeprecatedRemoteDebuggerContainer.tsx'

Appearance.setColorScheme('light');

Expand All @@ -28,6 +29,9 @@ const App = () => {
<Section title="Assets test">
<AssetsTestContainer />
</Section>
<Section title="Deprecated remote debugger">
<DeprecatedRemoteDebuggerContainer />
</Section>
</SectionContainer>
</AppContainer>
);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Button } from '../ui/Button'
// @ts-ignore
import NativeDevSettings from 'react-native/Libraries/NativeModules/specs/NativeDevSettings';


export default function DeprecatedRemoteDebuggerContainer () {
return (
<>
<Button title={'Open remote debugger'} onPress={() => NativeDevSettings.setIsDebuggingRemotely(true)} />
<Button title={'Close remote debugger'} onPress={() => NativeDevSettings.setIsDebuggingRemotely(false)} />
</>
)
}
10 changes: 0 additions & 10 deletions packages/debugger-app/.eslintrc.cjs

This file was deleted.

4 changes: 0 additions & 4 deletions packages/debugger-app/.prettierrc.cjs

This file was deleted.

27 changes: 0 additions & 27 deletions packages/debugger-app/CHANGELOG.md

This file was deleted.

32 changes: 0 additions & 32 deletions packages/debugger-app/README.md

This file was deleted.

10 changes: 0 additions & 10 deletions packages/debugger-app/babel.config.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions packages/debugger-app/index.d.ts

This file was deleted.

3 changes: 0 additions & 3 deletions packages/debugger-app/index.js

This file was deleted.

54 changes: 0 additions & 54 deletions packages/debugger-app/package.json

This file was deleted.

49 changes: 0 additions & 49 deletions packages/debugger-app/public/index.html

This file was deleted.

Binary file removed packages/debugger-app/src/assets/blue-icon.png
Binary file not shown.
Binary file removed packages/debugger-app/src/assets/gray-icon.png
Binary file not shown.
Binary file removed packages/debugger-app/src/assets/orange-icon.png
Binary file not shown.
84 changes: 0 additions & 84 deletions packages/debugger-app/src/debuggerWorker.js

This file was deleted.

37 changes: 0 additions & 37 deletions packages/debugger-app/src/index.css

This file was deleted.

Loading

0 comments on commit 98c9925

Please sign in to comment.