Closed okal closed 9 years ago
Hi,
I'm sending a JSON payload of the following form
'{"reg_id": "<registration id>", "dev_id": "<device id>", "name": "A Device"}'
Running $./manage.py gcm_messenger --devices gives me the following.
$./manage.py gcm_messenger --devices
(#1) None
The device is registered, but the name is set to None, for some reason. Any idea why that might be happening?
None
PS: Thanks for the great work :-)
Also worth noting: The dev_id and reg_id fields are saved as expected.
dev_id
reg_id
Thanks @okal for drawing attention to this. It looks like we completely ignore the device name during the registration.
Fixed in #22
Hi,
I'm sending a JSON payload of the following form
Running
$./manage.py gcm_messenger --devices
gives me the following.The device is registered, but the name is set to
None
, for some reason. Any idea why that might be happening?PS: Thanks for the great work :-)