Skip to content

Commit

Permalink
slightly helpful guide
Browse files Browse the repository at this point in the history
  • Loading branch information
RobPruzan committed Nov 27, 2024
1 parent e567862 commit 40a7f48
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions test-native/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## wip

1. build package

npm build

2. turn into tarball

npm pack

3. create an expo app and cd into it

create npx create-expo-app@latest

4. install react-scan

npm install ~the tarball made~

5. install react-native-skia

npm install @shopify/react-native-skia

6. add react scan

```tsx
+ import {ReactNativeScanEntryPoint} from "react-scan/native"


....
<ThemeProvider value={...}>
<Stack>
...
</Stack>
+ <ReactNativeScanEntryPoint/>
</ThemeProvider>
```

7. run on ios (requires simulator)

npm ios

0 comments on commit 40a7f48

Please sign in to comment.