[aerogear-dev] inactive apns device id notifications in aerogear UPS

Matthias Wessendorf matzew at apache.org
Mon Apr 13 11:55:43 EDT 2015


On Mon, Apr 13, 2015 at 5:26 PM, scottyedinb <
scott.cumming at digitalbarriers.com> wrote:

> Thanks for your reply...
>
> So supposing I've previously registered an iOS device using the
> "rest/registry/device" api call.. And I'm pushing to that device from my
> application (via aerogear of course).. but the associated token has been
> found by aerogear to be inactive and removed from the database.. Should I
> expect to receive an exception back in my MessageResponseCallback::OnError
> method?
>

No, that's not an error - error is really if the crendtials for the
application/masterSecret are wrong, the URL to UPS is wrong, etc.

you will receive a 200, if you could post your "send push" request to our
server.

internally the UPS acts as a broker delivering the tokens to Apple. Apple
may (or may not) deliver the message straight to your phone


>
> One more wee thing: For test purposes, is it possible to register false
> device tokens with aerogear, in order to test the above scenario?
>
>
>
> --
> View this message in context:
> http://aerogear-dev.1069024.n5.nabble.com/inactive-apns-device-id-notifications-in-aerogear-UPS-tp11431p11435.html
> Sent from the aerogear-dev mailing list archive at Nabble.com.
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20150413/e7ab1c7a/attachment.html 


More information about the aerogear-dev mailing list