일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- Spread
- 파이어베이스로그인
- Next.js
- 타입스크립트
- Python
- 기초
- 백준
- JS
- iP
- nvm
- Rest
- react-firebaseui
- youtube iframe
- yarn-berry
- 커스텀알락
- nvmrc
- React
- leetcode977
- 리액트
- 파이썬
- leetcode189
- react-native
- 구조분해할당
- 자바스크립트
- css
- mac
- 커스텀알림
- firebaseui
- 프로토타입
- 다리놓기
- Today
- Total
JadeCode
웹사이트를 앱으로? 웹뷰! 본문
MEALTI
밀티로 오늘의 식사를 기록해보세요 식비 가계부 보러가기 → 뭐 먹을지 고민 된다면? 레시피 추천 받으러 가기 →
mealti-38fed.web.app
파이어베이스로 호스팅 한 내 웹 사이트 밀티!
반응형으로 구현하였기 때문에 모바일 상에서도 잘 열린다.
하지만 왠지 모르게 어플로 된다면 좋겠다... 라는 생각이 들던 와중
웹뷰로 해서 폰에 다운 받으면 어떨까 라는 생각에 웹뷰에 대해서 알아보게 되었다.
React Native로 만들기!
expo를 사용하면 쉽게 만들 수 있다.
npm install -g expo-cli
npx create-expo-app 앱이름
npm install -g eas-cli // eas 서비스 이용
Expo 회원가입 하기
Sign Up — Expo
Create an account for Expo here.
expo.dev
eas(Expo Application Services)를 이용하면 쉽게 빌드 할 수 있다.
가장 쉬운 방법은 eas.json을 수정해서 build를 하는 것이다.
https://docs.expo.dev/build-reference/apk/
Build APKs for Android Emulators and devices
Learn how to configure and install an .apk for Android Emulators and devices when using EAS Build.
docs.expo.dev
//eas.json
{
"cli": {
"version": ">= 3.13.0"
},
"build": {
"preview": {
"android": {
"buildType": "apk"
}
},
"preview2": {
"android": {
"gradleCommand": ":app:assembleRelease"
}
},
"preview3": {
"developmentClient": true
},
"production": {}
},
"submit": {
"production": {}
}
}
아래의 명령어를 치면 다운 가능한 apk파일이 만들어진다.
eas build -p android --profile preview
Expo Documentation
docs.expo.dev
Expo Application Services (EAS)
Deeply integrated cloud services for Expo and React Native apps, from the team behind Expo.
expo.dev
'개발 > 프로젝트' 카테고리의 다른 글
[Next.js13] 2023. 새로운 next (0) | 2023.05.21 |
---|---|
Next.js에서 나만의 customAlert 만들기 (0) | 2023.04.21 |
데러쿱 (0) | 2021.11.19 |
데러쿱 (0) | 2021.11.18 |
DAERKOOB (0) | 2021.10.28 |