-
-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to send Notificaton #218
Comments
We have the same problem. Broadcast messages are not delivered. |
Dear @contributors, is there really no solution to this problem? |
Bump. Having the same issue. What I've done so far: VPS/SERVER SIDE: Installed and started MongoDB: Downloaded and ran Airnotifier: Created an App: Moodle Integration: APP SIDE: Testing Airnotifier: Only thing that worked was to directly send broadcasts through Cloud Messaging from Firebase. Any help is appreciated. Edit: Turns out there was a https parameter that was commented in config.py, as I am using https I'm thinking that's the reason why it's not sending anything. I'll try and update once I set the https parameters. |
Still having the same issue, even though my website isn't using https. |
I think I had the same issue and this is what I have found:
This worked. So I think you can only broadcast to known devices, so tokens that is already known to AirNotifier. |
Hello Everyone !!
I just hosted airnotifier (Version 3.X) in my azure virtual machine.
And i'm trying send a broadcast message from airnotifier.
I created a app in Firebase and when i tried to send a notification using cloud message it works. It means my firebase and app are perfect
In airnotifier i created a app and i gave project id and json key in Firebase Cloud Messaging settings.
Then i tried to send a broadcast message and i didn't receive any.
Here is my JSON key
{
"type": "service_account",
"project_id": "",
"private_key_id": "",
"private_key": "-----BEGIN PRIVATE KEY-----\n**********************\n-----END PRIVATE KEY-----\n",
"client_email": "@appspot.gserviceaccount.com",
"client_id": "***",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/************%40appspot.gserviceaccount.com"
}
The text was updated successfully, but these errors were encountered: