We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eda1e20 commit 3412eb2Copy full SHA for 3412eb2
2 files changed
example/src/App.tsx
@@ -8,7 +8,7 @@ import {
8
Text,
9
View,
10
} from 'react-native';
11
-import { isDeviceRooted } from 'react-native-detect-frida';
+import { isDeviceRooted, type CheckStatus } from 'react-native-detect-frida';
12
13
export default function App() {
14
const [rooted, setRooted] = React.useState<string | undefined>();
src/index.tsx
@@ -2,6 +2,8 @@ import { NativeModules, Platform } from 'react-native';
2
import type { RootCheckResult } from './ValueTypes';
3
import NativeDetectFrida from './NativeDetectFrida';
4
5
+export type { CheckStatus, RootCheckResult } from './ValueTypes';
6
+
7
const DetectFrida = NativeDetectFrida
? NativeDetectFrida
: NativeModules.DetectFrida;
0 commit comments