728x90
ios 는 여기루
https://soobysu.tistory.com/236
[App] React Native FCM 푸시 알림구현 (ios)
프로젝트 생성https://console.firebase.google.com 로그인 - Google 계정이메일 또는 휴대전화accounts.google.com설명클라이언트 FCM 토큰 추출 ( 알림 권한 허용시 )백엔드 FCM 토큰 저장 백엔드 FCM 메세지 퍼블리
soobysu.tistory.com
프로젝트 생성
https://console.firebase.google.com
로그인 - Google 계정
이메일 또는 휴대전화
accounts.google.com

설명
- 클라이언트 FCM 토큰 추출 ( 알림 권한 허용시 )
- 백엔드 FCM 토큰 저장
- 백엔드 FCM 메세지 퍼블리싱
- 사용자 디바이스 알림 응답
플랫폼 추가
ios 가 있다면 아래 처럼 앱 추가 버튼 > android


#app.json
{
"expo":{
"android": {
"package": "com.test.testApp"
}
.
.
.
pakage 에 있는 이름을 넣어서 앱을 만들어준다.
구성파일 세팅

app 루트 디렉토리에 넣어준다.
SDK 설치
npx expo install @react-native-firebase/messaging @react-native-firebase/app
# /android/build.gradle
buildscript {
...
dependencies {
...
classpath("com.google.gms:google-services:4.4.3")
}
}
경로 주의 !! 위 아래 경로 다름
# /android/app/build.gradle
apply plugin: "com.android.application"
apply plugin: "com.google.gms.google-services"
...
dependencies {
...
// Import the Firebase BoM
implementation "com.google.android.gms:play-services-base:18.1.0"
implementation "com.google.firebase:firebase-messaging"
implementation platform("com.google.firebase:firebase-bom:34.1.0")

끗!
728x90
'개-발 > App' 카테고리의 다른 글
| [오류노트] nextJS 취약점 업데이트 (f.expo) (1) | 2025.12.10 |
|---|---|
| [App]Expo update (code push) (0) | 2025.09.12 |
| [App] React Native FCM 푸시 알림 세팅 (ios) (0) | 2025.08.20 |
| [App] ios APN (.p8) 인증키 발급받기 (0) | 2025.08.20 |
| [App] 앱 배포시 유용한 사이트 모음 (2) | 2025.08.14 |