| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |
- writeasync
- Alamofire
- Comparable
- @EnvironmentObject
- collectionview
- fscalendar
- Postman
- PageControl
- Realm
- combine
- apns
- webview
- networking
- Remote Notification
- moya
- UserInfo
- 회고
- datepicker
- 열거형
- PushNotification
- RemoteNotification
- UserNofificationCenter
- APNs Key
- FCM
- @ObservedObject
- @State
- IOS
- enum
- CaseIterable
- @Binding
- Today
- Total
목록RemoteNotification (3)
conyang's iOS
앱에서 수신한 푸시 알림을 탭했을 때, 알림에서 받은 url을 웹뷰로 띄우는 방법입니다. xCode Project와 FCM Push Notification 연동은 여기를 참고해주시면 됩니다!테스트를 위해 푸시 서버에서 알림을 받는 대신 postman을 사용하겠습니다.우선 postman 푸시 테스트 방법 먼저 설명드리겠습니다. 1. postman 푸시 테스트1) Firebase 프로젝트 > 프로젝트 설정 > 클라우드 메시징 에서 Cloud Messaging API 사용하기처음 키면 아마 사용 중지됨으로 되어있을텐데, 오른쪽 더보기에서 Google Cloud Console에서 API 관리를 들어가 사용 버튼을 누르면 사용하실 수 있습니다!2) 서버 키 복사해두기postman으로 푸시 알림을 보낼 때 사용될 ..
1. UserInfo 푸시 데이터가 담겨있는 저장소, [ AnyHashable : Any ]? 형태의 자료형입니다. { "aps": { "alert": "test" "badge": "1" } } 2. Push Notification 메소드 정리 1) 앱이 실행 중인 경우 (Foreground) userNotificationCenter(_:willPresent:withCompletionHandler:) func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotification..
※ 원격 푸시를 구현하기 위해선 개발자 계정 멤버십이 필요합니다. 1. APNs Key 발급 1. Apple Developer Member Center > Keys에 들어갑니다. Keys 옆의 + 버튼을 눌러 키를 생성합니다. 2. Key 이름을 작성하고, Apple Push Notifications service (APNs)를 선택합니다. 3. Continue > Register를 완료한 다음 Download 버튼을 눌러 p8 파일을 다운로드 합니다. 다운로드한 키 파일은 한 번만 다운로드할 수 있으니, 보관해둬야 합니다. 2. Firebase 프로젝트 설정 1. Firebase에서 새 프로젝트를 생성합니다. 2. iOS 프로젝트를 추가합니다. 3. 앱 등록, 구성 파일 다운로드합니다.(안내대로 따라가..