FCM(2)
-
FCM 이용시 백그라운드에서 푸쉬를 못받을때
상황 FCM을 이용을 하는데 이번에 Xcode8, iOS 10을 쓰면서 도무지 Background에서 Push Notification이 안오는 것이다.message로 들어오는 userInfo를 찍어보면 형식이 아예 다르다. 기존[aps: { alert = { body = ""; title = ""; }; "content-available" = 1; }, data: data, gcm.message_id: 0:BLAHBLAH] 문제data: data, collapse_key: BLAH, notification: { body = ""; e = 1; title = ""; }, from: BLAHBLAH 답답함에 새로 프로젝트를 만들었더니 그건 또 잘 된다.기존에 있는 것이 안되니 참 답답하다. 같은 상황의 답답..
2016.09.28 -
iOS, GCM에서 FCM으로 바꾸기.
Firebase Cloud Messaging (FCM) is the new version of GCM. It inherits the reliable and scalable GCM infrastructure, plus new features! See the FAQ to learn more. If you are integrating messaging in a new app, start with FCM. GCM users are strongly recommended to upgrade to FCM, in order to benefit from new FCM features today and in the future. 결국 해봤다... Firebase Console 화면을 접속한다.그리고 새 프로젝트를 생성한다..
2016.05.31