-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Description
Hi, I've tried implementing this gem every which way and it give an error in every case. The push notifications are working through firebase web interface. Do you have any insight?
Here is the simplest case:
`
message = { token: "FIREBASE_DEVICE_TOKEN", notification: { title: "title", body: "body" } }
fcm_object = FCM.new("public/temp.json", "FIREBASE_APP_ID")
response = fcm_object.send_v1(message)
`
This gives the error on the send_v1 command
No such file or directory @ rb_sysopen - my_app_id
For sanity I have done File.open("public/temp.json") and the json file is findable and readable.
Thank you for any guidance!
Metadata
Metadata
Assignees
Labels
No labels