caTea 블로그

gcm apns 차이 본문

util

gcm apns 차이

ZaRas 2015. 7. 1. 16:57
반응형

원문 : http://mobileappdreams.blogspot.kr/2014/06/differences-between-ios-and-android.html





Tuesday, June 24, 2014

Differences between iPhone and Android Push Notifications: [APNS Vs GCM]


The documentation on how push works are clearly explained here on the 
following links:

The above references should help you to understand how push notification 
works. I felt it would be repetition to explain the content again here. Felt writing
 an article that explains the differences and some nuances between various 
push mechanisms: 
[Note: Please feel free to correct me, if any of the below information is incorrect.]

 

 iOS

 Android

 Permissions

 Methods are available to identify the user’s opt in status

 No methods are available

 Feedback Service

 Yes, along with silent push it’s a great way to measure success

 Yes, but lots of tweak is required.

 What happens when push reaches the device

 iOS automatically puts the message into notification center

 Android informs the app that there is a message, and app can decide whether to display it or hide it.

 Store and Forward [What happens if users device is offline, when push is attempted to be delivered]

 It stores only one unsent message that too recent.

 It can store multiple based on collapse keys.

 Message Expiry

 Apple didn’t reveal.

 It can be user set value with time-to-live parameter [0-4 weeks max]

 Localization

 Yes using loc-key,loc-args

 Not directly but we can use same iOS approach

 Two way messaging

 No

 Yes using XMPP

 Multi-device Messaging

 No

 Yes

 Receiving messages from Multiple senders

 No

 Yes

 Misc

 Silent push,ioS8’s category support

 Sync to send, Priority flag support.


요번에 푸시개발하면서 참고한 표이다.

애플 같은경우는 시스템에서 관리하기 때문에 개발자가 접근할수있는게 적다

하지만 안드로이드는 리시버 클래스에서 받아 띄워주기 때문에 개발자가 개입할수있는게 많다 애플에 비해서

이번에 할려고했던 Localization 애플에선 자동으로 해주지만 안드로이드는 직접 구현해야한다.


728x90

'util' 카테고리의 다른 글

공인인증서에서 데이터 뽑아내기  (0) 2018.05.30
mac sha1 string convert hash key  (0) 2018.01.10
tomcat console log 한글처리  (0) 2016.12.12
소프트웨어 라이센스 정리  (0) 2016.05.16
ssl 보안키 알아내기  (0) 2015.09.25