Francesco149 / push_receiver

subscribe to GCM/FCM and receive notifications in python 2/3
The Unlicense
16 stars 13 forks source link

Respond to heartbeat requests, and reestablish connection on disconnect #8

Open tbook opened 2 years ago

tbook commented 2 years ago

This likely deserves some editing, since I am not a Python guy or a FCM guy. However, it does respond to heartbeat requests, and reestablishes the connection when it is closed or fails. I've tested it for a few days in my environment (using for a Raspberry Pi project), and it works correctly there.