From 63b2b8cbf858137367224bc4cf0c8f555b2a7643 Mon Sep 17 00:00:00 2001 From: Katie McCormick Date: Fri, 7 Feb 2014 17:36:03 -0800 Subject: [PATCH] Doc update: misc GCM fixes Fixes for: b/12909231 b/12887320 b/12872407 Change-Id: I1fefb41f7ceea2e4e80262834d1c631b6b8daf7e --- docs/html/google/gcm/client.jd | 2 +- docs/html/google/gcm/gs.jd | 11 +++-------- docs/html/google/gcm/server.jd | 1 - 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/docs/html/google/gcm/client.jd b/docs/html/google/gcm/client.jd index ee764ef2df871..42cebfcbb9046 100644 --- a/docs/html/google/gcm/client.jd +++ b/docs/html/google/gcm/client.jd @@ -75,7 +75,7 @@ If you're using Android Studio, this is the string to add to the {@code dependency} section of your application's {@code build.gradle} file:

dependencies {
-   compile: "com.google.android.gms:play-services:3.1.+"
+  compile "com.google.android.gms:play-services:3.1.+"
 }
 
diff --git a/docs/html/google/gcm/gs.jd b/docs/html/google/gcm/gs.jd index 8bc19361d6966..d937955d30043 100644 --- a/docs/html/google/gcm/gs.jd +++ b/docs/html/google/gcm/gs.jd @@ -64,14 +64,10 @@ project number. For example, Project Number: 670330094152.

<
  • Under Public API access, click Create new key.
  • -
  • In the Create a new key dialog, click Android key.
  • +
  • In the Create a new key dialog, click Server key.
  • -
  • In the resulting configuration dialog, supply one SHA1 fingerprint and -the package name for your app, separated by a semicolon. For example, -{@code 45:B5:E4:6F:36:AD:0A:98:94:B4:02:66:2B:12:17:F2:56:26:A0:E0;com.myexample}. -

    To get the value for the SHA1 fingerprint, follow the instructions in the -console -help.

  • +
  • In the resulting configuration dialog, supply your server's IP address. For testing +purposes, you can use {@code 0.0.0.0/0}.

  • Click Create.
  • In the refreshed page, copy the @@ -102,4 +98,3 @@ Implementing GCM Server.
  • Write your client app. This is the GCM-enabled Android application that runs on a device. See Implementing GCM Client for more information.
  • - diff --git a/docs/html/google/gcm/server.jd b/docs/html/google/gcm/server.jd index 7ba1bd535945c..ccd12670aeb3c 100644 --- a/docs/html/google/gcm/server.jd +++ b/docs/html/google/gcm/server.jd @@ -120,7 +120,6 @@ have an application server that meets the following criteria:

  • Able to store the API key and client registration IDs. The API key is included in the header of POST requests that send messages.
  • -
  • Able to store the API key and client registration IDs.
  • Able to generate message IDs to uniquely identify each message it sends.