<div dir="ltr">So I had a post on my Google+ (I know that was my reaction too) page from a user who was having trouble with UPS, user-data, and Android.  I&#39;m not sure WHERE his problem is, but I will describe it here and we can discuss further.<div><br></div><div>Let&#39;s say we send the following to UPS using the sender API : </div><div><br></div><div><div>{</div><div>     &quot;message&quot;: {</div><div><span class="" style="white-space:pre">        </span>&quot;alert&quot; : &quot;Remote service failed. View FAQs.&quot;,</div><div><span class="" style="white-space:pre">        </span>&quot;sound&quot;: &quot;default&quot;,</div><div><span class="" style="white-space:pre">        </span>&quot;badge&quot;: -1,</div><div><span class="" style="white-space:pre">        </span>&quot;user-data&quot;: {</div><div><span class="" style="white-space:pre">                </span>&quot;SXM&quot;: {</div><div><span class="" style="white-space:pre">                        </span>&quot;CATEGORY&quot; : &quot;SERVICE&quot;,</div><div><span class="" style="white-space:pre">                        </span>&quot;SERVICETYPE&quot;: &quot;Remote&quot;,</div><div><span class="" style="white-space:pre">                        </span>&quot;SRID&quot;: &quot;BB4FC7F0-15E9-11E6-9F41-0050569C3256&quot;,</div><div><span class="" style="white-space:pre">                        </span>&quot;APPCONTENT&quot;: &quot;UNKNOWN&quot;,</div><div><span class="" style="white-space:pre">                        </span>&quot;STATUS&quot;: &quot;FAIL&quot;,</div><div><span class="" style="white-space:pre">                        </span>&quot;STATUSCHANGE_DATETIME&quot;: &quot;UNKNOWN&quot;,</div><div><span class="" style="white-space:pre">                        </span>&quot;URL&quot;: &quot;XYZABC.com&quot;</div><div><span class="" style="white-space:pre">                </span>}</div><div><span class="" style="white-space:pre">        </span>}</div><div>     }</div><div>   }</div></div><div><br></div><div>Android will receive the following message bundle from Google : </div><div><br></div><div><div>Bundle[</div><div>  {aerogear-push-id=3f2b9477-fc9e-463a-94d7-d62bf55706e1, </div><div>   SXM={CATEGORY=SERVICE, SERVICETYPE=Remote, SRID=BB4FC7F0-15E9-11E6-9F41-0050569C3256, APPCONTENT=UNKNOWN, STATUS=FAIL, STATUSCHANGE_DATETIME=UNKNOWN, URL=XYZABC.com}, </div><div>   alert=Remote service failed. View FAQs., </div><div>   badge=-1, </div><div>   sound=default,  </div><div>   collapse_key=do_not_collapse}</div><div>]</div></div><div><br></div><div>As we can see, several things have happened.  1) user-data has been rolled up into a root element, and the SXM root object&#39;s JSON body has been stripped of its jsonness.  IDEALLY we would be able to keep the body of userdata as a string for user&#39;s to handle themselves.  </div><div><br></div><div>I THINK this is an issue with how UPS converts the message for sending to GCM, but i haven&#39;t researched that far.</div><div><br></div><div>Summers</div></div>