Migration to Cloud Endpoints Framework v2, iOS Client

My Google App application is using the old (v1) version of Cloud Endpoints, as far as I can see in the documentation, it is recommended to upgrade to v2 Cloud Endpoints Framework .

The application uses the standard Java environment and is the backend for Android and iOS clients.

I am currently generating both Android client libraries and discovery documents for an iOS mobile app while developing the API, as described in the docs:

https://cloud.google.com/endpoints/docs/frameworks/legacy/v1/java/generate-discovery-doc-ios

The v2 documentation, however, only reads about building the Android client library .

https://cloud.google.com/endpoints/docs/frameworks/java/about-cloud-endpoints-frameworks

So my question is:

Does the new version of Cloud Endpoints support discovery reporting or does it help integrate the iOS client in any other way?

+3


source to share


1 answer


Yes, new endpoints can generate discovery documents. However, you should upgrade to the new RESTful iOS client as the old one has been deprecated for almost a year. Using the main class EndpointsTool

, you can pass arguments get-discovery-doc com.example.TestEndpoint...

to get the discovery document. Then follow the instructions on the REST client page. Eventually we will have the paperwork for this, apologies for the inconvenience.



+1


source







All Articles