App notification을 위한 Firebase 등록하기
Firebase 프로젝트 만들기 를 클릭합니다.
Firebase Project 이름을 입력해줍니다.
Firebase Project 설정에 들어갑니다.
Firebase Project 설정 > 일반 > 내 앱 ( 하단 ) > ios+ 클릭
1에서 작성했던 Apple 번들 ID를 입력합니다. ( com.company.appName or com.group.appName )
GoogleService-Info.plist를 다운하여 project root에 위치합니다.
해당 파일은
// root/app.json
{
"expo": {
"name": "LinKorea",
"slug": "linkorea",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/icon_1024x1024.png",
"scheme": "myapp",
"userInterfaceStyle": "automatic",
"newArchEnabled": true,
"ios": {
"googleServicesFile": "./GoogleService-Info.plist",
}
}
}
위와 같이 root에 존재하는 app.json에서 ios의 googleServicesFile에서 참조할 것입니다.
Android의 경우 google-services.json 를 사용합니다.
프로젝트 생성을 마무리합니다.