본문 바로가기

카카오 REST API & SDK/푸시 알림4

iOS(Swift) + APNs + Postman 예제 - 푸시 알림 (Notification) KeyID, TeamID, Device Token으로 발송 테스트 할 수 있는 어플리케이션 https://apps.apple.com/kr/app/swifty-pusher/id1618221326?mt=12 애플 공식 문서 https://developer.apple.com/documentation/usernotifications 1. Apple Developers Key 등록 https://developer.apple.com/account/resources/authkeys/list 2. 인증 키 다운로드 3. 디벨로퍼스 푸시 알림 설정 "2. 인증 키 다운로드"에서 받은 AuthKey_XXXXXXXX.p8 파일과 Key ID 그리고 https://developer.apple.com/ > Account > M.. 2022. 7. 31.
node.js 예제 - [푸시 알림] 푸시 알림 보내기 'content-Type': 'application/x-www-form-urlencoded;charset=utf-8' 의 POST방식 Array Parameter와 PushMsgJson 형태의 Body Data 전송 PushMsgJson은 개행(엔터)가 없어야하고 Json 규칙에 맞아야함. const formUrlEncoded = x => Object.keys(x).reduce((p, c) => p + `&${c}=${encodeURIComponent(x[c])}`, '') app.get('/v2/push/send', (req, res) => { axios .post("https://kapi.kakao.com/v2/push/send?uuids=[1234,1234]", formUrlEncoded({ 'pu.. 2021. 9. 2.
android(kotlin) + fcm + Postman 예제 - 푸시 알림 카카오 푸시 알림 가이드 : developers.kakao.com/docs/latest/ko/push/common 1. Firebase에 가입하고 Project를 추가합니다. https://firebase.google.com/ 2. 구글 앱스토어(플레이 콘솔)에 등록한 앱 패키지 명과 이름을 등록합니다. 3. google-services.json 파일을 다운받아 프로젝트 app 폴더에 넣습니다. 4. build.gradle(Project)에 class path를 추가합니다. // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.kotlin_versi.. 2021. 3. 30.
푸시 알림 자주하는 질문 Q. UUID는 어떻게 얻나요? A. 푸시알림 가이드에서 말하는 UUID는 카카오와 무관하게 소유하신 서비스에서 고객을 식별하는 식별자를 사용하시면 됩니다. 2021. 1. 19.