Local testing for Android App using Cloud Endpoints for Google App Engine -
i developing android app uses google cloud endpoints on google app engine (in python) backend. android app authorizes user using google play services on android device, , works fantastically.
however, have actual users, i'd able test locally before deploying app engine api changes production, , haven't figured out how have android app talk local development server anywhere. testing recommendations suggest manual tinkering api explorer, i'm using endpoints proto datastore api, makes android development easy, makes api explorer useless, since calls need make far more complicated can generate hand.
one answer this question suggests there way point android client @ local server, while can use --host argument have dev_appserver's default server listen on other localhost, can't seem find way same api server. , if that, might first step full end-to-end local testing setup android app.
can post more details on how might this, or short of that, please enlighten me on best practices testing android apps use google cloud endpoints on app engine? in advance answers.
in local environment, dev_appserver api server. if you've configured it's accessible machines other localhost (i.e. machine/device on network) api requests should accessible well.
however, there's issue local server , gzipped requests. until that's fixed you'll need disable gzipping within client library in android app (see post).
Comments
Post a Comment