We have two app engine instances running the same code for the sake of testing and production server.
We are using endpoints API.
Our android app which connects with both servers uses the same client code generated by google app engine tools. Based on our need we just switch the server url using
builder.setRootUrl(someUrl);
on our test project we have set the package name and sha1 key to generate the android client id but we are unable to do so on production server because of the same package name. It gives an error by saying that package name should be unique. Now the problem is how do we maintain the code to connect the app engine. Worst case would be to have two different projects with different package name.
any other solution ?