Open GoogleCodeExporter opened 9 years ago
Inside here obviously:
public class Sender {
...
public Result sendNoRetry(...)
...
}
Original comment by lro...@gmail.com
on 17 Apr 2013 at 9:28
Per the docs:
dry_run - If included, allows developers to test their request without
actually sending a message. Optional. The default value is false, and must be a
JSON boolean.
http://developer.android.com/google/gcm/gcm.html
Original comment by lro...@gmail.com
on 17 Apr 2013 at 9:42
Have you tried using
if (dryRun != null) {
addParameter(body, PARAM_DRY_RUN, dryRun ? "1" : "0");
}
Original comment by raj...@gmail.com
on 29 Oct 2013 at 6:01
+1 This is happening to me as well, and per the Android Developer docs
PARAM_DRY_RUN (aka "dry_run") needs to be a JSON boolean. Thus will only
support values of "true" or "false" and not the "1" or "0" that is in the code.
Original comment by Drummer8...@gmail.com
on 4 Dec 2013 at 1:43
Original issue reported on code.google.com by
lro...@gmail.com
on 17 Apr 2013 at 9:18