Skip to content

UMC-EXTRA/extra-react-native-app

Repository files navigation

EXTRA

테스팅 방식

이 저장소에서 새로운 브랜치를 생성해서 테스팅해주세요!!

1. expo go 다운로드

  • Play Store

  • App Store


2. React 실행 시 아래 커멘드로 실행

    $ npm run dev -- --host
  ➜  Local:   http://localhost:5173/
  ➜  Network: http://아이피주소:5173
  ➜  press h + enter to show help

3. Webview 주소를 Network 주소로 수정

<WebView
  // 아래 링크를 수정하세요.
  source={{ uri: 'http://아이피주소:5173' }}
  style={{ flex: 1 }}
/>

참고: 라우팅된 주소를 테스팅하고 싶은 경우엔 해당 주소로 변경해야함
예: 스케줄표주소 -> http://localhost:5173/schedule

<WebView
  // 아래 링크를 수정하세요.
  source={{ uri: 'http://아이피주소:5173/schedule' }}
  style={{ flex: 1 }}
/>

4. npm start

5. 모바일에서 qr 스캔

About

EXTRA cross plaform app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors