Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4233c939 authored by && repo sync -j8's avatar && repo sync -j8 Committed by Android (Google) Code Review
Browse files

Merge "Doc Update: param name change" into jb-dev-docs

parents aac29f12 2128ec98
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -668,8 +668,8 @@ sent. Optional. The default value is <code>false</code>, and must be a JSON bool
    <td>How long (in seconds) the message should be kept on GCM storage if the device is offline. Optional (default time-to-live is 4 weeks, and must be set as a JSON number). </td>
  </tr>
<tr>
  <td><code>category</code></td>
  <td>A string containing the package name of your application. When set, messages will only be sent to registration IDs that match the category. Optional.
  <td><code>restricted_package_name</code></td>
  <td>A string containing the package name of your application. When set, messages will only be sent to registration IDs that match the package name. Optional.
  </td>
</tr>
<tr>
@@ -707,7 +707,7 @@ sent. Optional. The default value is <code>false</code>, and must be a JSON bool
    <td>Same as JSON (see previous table). Optional.</td>
  </tr>
<tr>
  <td><code>category</code></td>
  <td><code>restricted_package_name</code></td>
  <td>Same as JSON (see previous table). Optional.
  </td>
</tr>
@@ -956,11 +956,11 @@ Happens when the HTTP status code is 500, or when the <code>error</code> field o
object in the results array is <code>InternalServerError</code>.
</dd>

<dt id="invalid_category"><strong>Invalid Category</strong></dt>
<dt id="restricted_package_name"><strong>Invalid Package Name</strong></dt>

<dd>
A message was addressed to a registration ID whose category did not match the value passed in the request. Happens when error code is 
<code>InvalidCategory</code>.
A message was addressed to a registration ID whose package name did not match the value passed in the request. Happens when error code is 
<code>InvalidPackageName</code>.
</dd>