서비스를 실행한 모습
- React Native + Typescript
iOS는 MacOS와 Xcode가 설치되어 있는 환경에서만 실행 가능
npm혹은yarn설치cocoapod설치aws init실행
~$ git clone https://github.com/JWWon/wdd-client.git~$ cd wdd-client~/wdd-client$ npm install~/wdd-client$ cd ios && pod install && cd ..android/Gradle Scripts(android-react-native-maps)에 다음 추가
{
dependencies {
...,
implementation "com.android.support:support-media-compat:${rootProject.ext.supportLibVersion}"
implementation "com.android.support:support-v4:${rootProject.ext.supportLibVersion}"
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
}
}
~/wdd-client$ amplify push(AWS Amplify 세팅)~/wdd-client$ npm run dev- 서비스 실행
- Android
- 에뮬레이터 혹은 안드로이드 디바이스 연결
~/wdd-client$ react-native run-android
- iOS
- 시뮬레이터
~/wdd-client$ react-native run-ios
- 아이폰 디바이스
- 디바이스 연결
~/wdd-client$ open ios/WddClient.xcworkspace- Xcode에서 디바이스 선택 및 실행
- 시뮬레이터
- 디버깅 모드
- iOS :
CMD+D혹은핸드폰 흔들기-> Debug JS Remotely - Android :
CMD+M혹은핸드폰 흔들기-> Debug JS Remotely
- iOS :


