Skip to content

Commit 40a7f48

Browse files
committed
slightly helpful guide
1 parent e567862 commit 40a7f48

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

test-native/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## wip
2+
3+
1. build package
4+
5+
npm build
6+
7+
2. turn into tarball
8+
9+
npm pack
10+
11+
3. create an expo app and cd into it
12+
13+
create npx create-expo-app@latest
14+
15+
4. install react-scan
16+
17+
npm install ~the tarball made~
18+
19+
5. install react-native-skia
20+
21+
npm install @shopify/react-native-skia
22+
23+
6. add react scan
24+
25+
```tsx
26+
+ import {ReactNativeScanEntryPoint} from "react-scan/native"
27+
28+
29+
....
30+
<ThemeProvider value={...}>
31+
<Stack>
32+
...
33+
</Stack>
34+
+ <ReactNativeScanEntryPoint/>
35+
</ThemeProvider>
36+
```
37+
38+
7. run on ios (requires simulator)
39+
40+
npm ios

0 commit comments

Comments
 (0)