Hi,
I noticed that the ctor, currently, takes the entire URL of the
"registration" endpoint:
https://github.com/secondsun/PushEEDemo/blob/master/src/com/example/pushe...
That's ok, for now. but I think that ideally the application specific part
(here "/rest/registry/device") should not be exposed. It could be changed,
by PushEE.
In the iOS SDK, we only "require" the URL + the name of the servlet context.
For instance:
https://github.com/aerogear/aerogear-push-ios-registration/blob/master/pu...
(from a "mocked" test)
So the SDK internally appends the "rest/registry/device":
https://github.com/aerogear/aerogear-push-ios-registration/blob/master/pu...
Would you think this is good for the Android-SDK as well ?
Greetings.
Matthias
--
Matthias Wessendorf
blog:
http://matthiaswessendorf.wordpress.com/
sessions:
http://www.slideshare.net/mwessendorf
twitter:
http://twitter.com/mwessendorf