- 프로젝트 생성
npx react-native init 앱이름
- 웹뷰
npm install --save react-native-webview
- 네비게이터 (뒤로가기)
npm install @react-navigation/native
npm install @react-navigation/stack
npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view
- intent
npm install react-native-send-intent --save
- 앱 내 데이터 저장소 (자동로그인)
npm install @react-native-async-storage/async-storage
-스플래시
npm i react-native-splash-screen --save
-스와이프 감지
npm i -S react-native-swipe-gestures
—타입스크립트
npm install typescript @types/react @types/react-native --save-dev
'주말에 쓰는 개발일기 > react-native' 카테고리의 다른 글
[react-native] 스플래시 만들기 (0) | 2022.06.04 |
---|---|
[react-native] 안드로이드 aab 파일 추출하기 (0) | 2022.06.04 |
[react-native] 안드로이드 디바이스에서 앱 테스트하기 (0) | 2022.06.04 |
[react-native] react-native : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Program Files\nodejs\react-native.ps1 파일을 로드할 수 없습니다. (0) | 2022.06.04 |