This repository was archived by the owner on Mar 17, 2025. It is now read-only.
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
Memory leak in FirebaseHttpClient
#252
Open
Description
I'm currently trying to use this library, but I run into some trouble (crashes).
One thing is, the SHA1 fingerprint is hardcoded into the code. The GoogleApis certificate is very volatile (one week) compared to the uptime of a sketch (I hope several months).
The other is the use of the FireBaseHttpClient. My sketch will fail during the second 2 message (FirebaseCloudMessaging) being send. Mainly because it is not freeing its memory.
I refactored some things, and now use HttpClient directly, and I supply the fingerprint via arguments. And all seems to be running fine now.
So, what am I missing, that I should use the FirebaseHttpClient
?