Francesco149 / push_receiver

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

Fix crypto-key/encryption key issue; fix mutable func parameter #3

Open vivedp opened 3 years ago

vivedp commented 3 years ago

Fixes appearing RuntimeError in __app_data_by_key that appears when the function looks for "crypto-key" or "encryption" in broken FCM messages. These messages are skipped when the field is not found. See https://github.com/MatthieuLemoine/push-receiver/issues/21

Also fixes a mutable function parameter, replacing "[]" with None and a check.

Increases patch version.