Skip to content

Commit 63d4340

Browse files
committed
fix: temporarly remove native sdk
1 parent 606b4f6 commit 63d4340

File tree

4 files changed

+8
-39
lines changed

4 files changed

+8
-39
lines changed

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
"@eslint/eslintrc": "^3.3.0",
6565
"@eslint/js": "^9.22.0",
6666
"@evilmartians/lefthook": "^1.5.0",
67-
"@react-native-clipboard/clipboard": "^1.16.3",
6867
"@react-native/babel-preset": "0.78.2",
6968
"@react-native/eslint-config": "^0.78.0",
7069
"@release-it/conventional-changelog": "^9.0.2",
@@ -80,7 +79,6 @@
8079
"react": "19.0.0",
8180
"react-native": "0.79.5",
8281
"react-native-builder-bob": "^0.40.8",
83-
"react-native-shake": "^6.7.8",
8482
"release-it": "^17.10.0",
8583
"typescript": "^5.8.3"
8684
},

src/CopyItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
type StyleProp,
66
type ViewStyle,
77
} from 'react-native';
8-
import Clipboard from '@react-native-clipboard/clipboard';
8+
// import Clipboard from '@react-native-clipboard/clipboard';
99
import Icon from './Icon';
1010

1111
interface CopyItemProps {
@@ -32,7 +32,7 @@ export const CopyItem: React.FC<CopyItemProps> = ({
3232

3333
const handleCopy = useCallback(async () => {
3434
try {
35-
Clipboard.setString(textToCopy);
35+
// Clipboard.setString(textToCopy);
3636
setCopied(true);
3737
if (timeoutRef.current) {
3838
clearTimeout(timeoutRef.current);

src/NetworkLoggerOverlay.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
} from 'react-native';
1414

1515
import NetworkLogItem from './NetworkLogItem';
16-
import RNShake from 'react-native-shake';
16+
// import RNShake from 'react-native-shake';
1717
import type { NetworkLog, NetworkLogger } from './types';
1818
import Icon from './Icon';
1919

@@ -40,13 +40,13 @@ export const NetworkLoggerOverlay: React.FC<NetworkLoggerOverlayProps> = ({
4040
if (!enableDeviceShake) {
4141
return;
4242
}
43-
const subscription = RNShake.addListener(() => {
44-
console.log('DEvice shaked');
45-
setShowButton(true);
46-
});
43+
// const subscription = RNShake.addListener(() => {
44+
// console.log('DEvice shaked');
45+
// setShowButton(true);
46+
// });
4747
return () => {
4848
unsubscribe();
49-
subscription?.remove();
49+
// subscription?.remove();
5050
};
5151
}, [networkLogger, enableDeviceShake]);
5252

yarn.lock

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2899,23 +2899,6 @@ __metadata:
28992899
languageName: node
29002900
linkType: hard
29012901

2902-
"@react-native-clipboard/clipboard@npm:^1.16.3":
2903-
version: 1.16.3
2904-
resolution: "@react-native-clipboard/clipboard@npm:1.16.3"
2905-
peerDependencies:
2906-
react: ">= 16.9.0"
2907-
react-native: ">= 0.61.5"
2908-
react-native-macos: ">= 0.61.0"
2909-
react-native-windows: ">= 0.61.0"
2910-
peerDependenciesMeta:
2911-
react-native-macos:
2912-
optional: true
2913-
react-native-windows:
2914-
optional: true
2915-
checksum: 3d9944fc2c4acbecf917e752cc36ec92c4dcdb590c94c81c78c24df9ddd4b02448e252eb39e0949000b01046cfdfe2b03e1676c5e3ac0fe7eb3bf6b649970c27
2916-
languageName: node
2917-
linkType: hard
2918-
29192902
"@react-native/assets-registry@npm:0.79.5":
29202903
version: 0.79.5
29212904
resolution: "@react-native/assets-registry@npm:0.79.5"
@@ -11046,7 +11029,6 @@ __metadata:
1104611029
"@eslint/eslintrc": ^3.3.0
1104711030
"@eslint/js": ^9.22.0
1104811031
"@evilmartians/lefthook": ^1.5.0
11049-
"@react-native-clipboard/clipboard": ^1.16.3
1105011032
"@react-native/babel-preset": 0.78.2
1105111033
"@react-native/eslint-config": ^0.78.0
1105211034
"@release-it/conventional-changelog": ^9.0.2
@@ -11062,7 +11044,6 @@ __metadata:
1106211044
react: 19.0.0
1106311045
react-native: 0.79.5
1106411046
react-native-builder-bob: ^0.40.8
11065-
react-native-shake: ^6.7.8
1106611047
release-it: ^17.10.0
1106711048
typescript: ^5.8.3
1106811049
peerDependencies:
@@ -11133,16 +11114,6 @@ __metadata:
1113311114
languageName: node
1113411115
linkType: hard
1113511116

11136-
"react-native-shake@npm:^6.7.8":
11137-
version: 6.7.8
11138-
resolution: "react-native-shake@npm:6.7.8"
11139-
peerDependencies:
11140-
react: "*"
11141-
react-native: "*"
11142-
checksum: a0d12169c1d5477a38751b6a555efd067f4f2a997d9151817e0ccb87b0df05361f4868d58945cc7fea260cb7fb36cf8c2112cbb716eb7594ed2c1e2ba046f7f7
11143-
languageName: node
11144-
linkType: hard
11145-
1114611117
"react-native-web@npm:~0.20.0":
1114711118
version: 0.20.0
1114811119
resolution: "react-native-web@npm:0.20.0"

0 commit comments

Comments
 (0)