Closed nevotheless closed 2 months ago
bump
Totally What is this token_a, token_b? I can't find such thing in firebase
Update: I found a way how to run it: 1) in config.yml
android:
enabled: true
apikey: "AA***eF" - "dashboard - Cloud Messaging API (Legacy) Enabled"
2) send
{
"notifications": [
{
"tokens": ["your FCM device token"],
"platform": 2,
"message": "Hello World Android!",
"title": "You got message"
}
]
}
That's valuable information!
Hello! I'm fiddling around with gorush atm and don't seem to understand what the
portion of the config file is for? I assumed i can put my firebase serverkey in there and send requests like
/api/push
instead i have to send requests like
to prevent running into 401 authentication issues.
But when i do this, i question what gorush is good for if i have to provide the api_key myself in the payload. Seems like i'm missing some crucial info here.