Skip to content

Getting rb_sysopen error on send_v1 call #137

Description

@gravyday

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions