RequestFactory & Android - handling different app versions

6 views
Skip to first unread message

Sheado

unread,
Sep 24, 2011, 3:46:04 AM9/24/11
to Google Web Toolkit
Howdy,

I'm looking into using RequestFactory to backup my game's data to
AppEngine. Is it possible to have different versions of the client
app, with different EntityProxies, safely make requests?

For example:

Version 1:
MyProxy
{
....
getX()
getY()
....
}

Version 2:
{
....
getX();
.... // getY() is removed
}

Once the server is updated to version 2, it seems that all clients
running version 1 will no longer be able to make requests (i get
Internal Server Error.

Getting your users to update isn't always easy on Android. Is there
any way around this? Or do I just have to be careful to never remove
methods once I've added them to my entities and their proxies?

Thanks!
Chad

Thomas Broyer

unread,
Sep 24, 2011, 9:34:23 AM9/24/11
to google-we...@googlegroups.com
I think this is exactly what ServiceLayerDecorator is made for.
Reply all
Reply to author
Forward
0 new messages