FirebaseExtended / firebase-arduino

Arduino samples for Firebase.
Apache License 2.0
943 stars 494 forks source link

firebase cloud messaging #446

Open bilalkh4an opened 5 years ago

bilalkh4an commented 5 years ago

Error:-1 :: connection refused

this is the error i am getting

token correct secret key correct

is their any fingerprint issue or what and how can i solve this issue

rest read and write is working fine but firebase cloud messaging is not working

Arafa-microsys commented 4 years ago

Open this file FirebaseCloudMessaging.cpp in src folder in the library folder and search for this line client->begin("http://fcm.googleapis.com/fcm/send"); change to client->begin("https://fcm.googleapis.com/fcm/send"); change from http to https and it will be work.