---
Yavuz Selim Yilmaz
SUNY at Buffalo
Computer Science and Engineering
PhD Candidate
On Jul 17, 2013, at 11:32 AM, Matthias Wessendorf <matzew(a)apache.org> wrote:
On iOS we recommend doing the registration (with UP server) on the
"didRegisterForRemoteNotificationsWithDeviceToken" callback:
https://github.com/aerogear/aerogear.org/blob/master/docs/guides/aerogear...
However, in AeroDoc-iOS, we just stash the token:
https://github.com/aerogear/aerogear-push-quickstart-ios/blob/master/ProD...
And submit it, with the entire metadata, AFTER a successful login:
https://github.com/aerogear/aerogear-push-quickstart-ios/blob/master/ProD...
Is it guaranteed that device token is received BEFORE successful login? What if
registration with APNs fails?
Perhaps we could/should docment that somewhere as well ? E.g. in the tutorial doc (e.g.
since that is a common use-case), or just on the AeroDoc code (with some comments) ?
-Matthias
--
Matthias Wessendorf
blog:
http://matthiaswessendorf.wordpress.com/
sessions:
http://www.slideshare.net/mwessendorf
twitter:
http://twitter.com/mwessendorf
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev