APNs key 발급 및 Firebase 연동

부가 설명
Apple Push Notifications service (APNs) 키 발급 - 여러 앱 공유해서 사용 가능하며, 한번 발급하면 영구 사용 가능 - p12에 비해 최신 방식
Tags
Push Noti
ios
p8

APNs 키 생성

 
Apple Push Notification service (APNs)
푸시알림 서비스를 이용하기 위해서는 APNs 키가 필요하다.
  • p8로 발급됨.
  • p8 키 하나로 여러 앱에서 사용 가능.
  • 1년마다 갱신이 필요한 P12와 다르게 영구적인 유효기간을 가짐
  • 다운로드는 1회만 가능하므로 관리에 특히 주의
 
notion image
 
notion image
 
notion image
 
notion image
 
notion image
 
notion image
 

Firebase에 APNs 키 업로드

프로젝트 설정으로 이동

notion image

클라우드 메시징 탭 선택

notion image

APNs 키 또는 APNS 인증서 업로드

최신방식이며 영구사용 가능한 p8인증서인 APNs 키를 발급받는 것을 추천하고 있음.
notion image
 
notion image
 
notion image
  • 키ID 확인
notion image
팀ID 확인

APN 키 파일 등록 완료

notion image