Comments (8)
Hi, can you please post the code snippet you're using to send the message, along with the message object?
Thanks
from firebasenet.
It seems that when I migrated to FCM the server key changed. Now I also get not authorized.
Can you please confirm that the server key is the Web Api key?
from firebasenet.
On FCM,, you should go to Project Settings -> Cloud Messaging. There you'll find the FCM Token and Server Key.
When I wrote the library a couple of months ago, the Token option wasn't avilable. I'll update the code to support it till tomorrow. For now, you should use the Server Key to create the FCM Client.
from firebasenet.
Ok, Looking forward, Thanks
from firebasenet.
Do you have any suggested documentation in the meanwhile? We are stuck with this and it is bad. Thanks
from firebasenet.
Take a look at the integration tests in the project. You should find some
samples there.
Em 13 de nov de 2016 13:28, "Flavius Demian" [email protected]
escreveu:
Do you have any suggested documentation in the meanwhile? We are stuck
with this and it is bad. Thanks—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMJFQZ0us89nk8odRV9YCRnkAtVpmNmFks5q9yyqgaJpZM4KwsHb
.
from firebasenet.
Ok. I will
from firebasenet.
@slown1 , the invalid registration means that the device you're specifiying in the "To" section wasn't registered to receive notifications from your project.
You should use the client apis https://firebase.google.com/docs/cloud-messaging/ for Android, IoS, to register the device in your project.
If you want to do a test, you can change the To parameter to "/topics/android". This is a pre-built topic in FCM that will send a message to all android devices,
from firebasenet.
Related Issues (20)
- Add support for SenderId
- Suggestion: combine AndroidNotification and IosNotification HOT 1
- Push notification without tag? HOT 2
- Can't add this package to Andorid project
- Sending an iOS message chrashes HOT 1
- How to use BodyLocArgs with multiple arguments? HOT 1
- The execution stops on 'client.SendMessageAsync(message)' HOT 2
- FirebaseNet.Serialization.JsonNetSerializer threw an exception HOT 2
- Suggestion: Is there a method to retrieve Invalid tokens? HOT 1
- Push Notification not received when using in Load Balanced Servers
- Missing mutable_content option
- Use ConfigureAwait(false)
- NuGet package is not signed (strong name missing) HOT 1
- Can this send messages to iPhone
- Will this work for notifying ios too? HOT 1
- Receive HOT 1
- An unhandled exception of type 'System.NullReferenceException' occurred in mscorlib.dll HOT 3
- NetStandard target support HOT 2
- Data values is not present in the Dictionary
- Sending notifications to a device group HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebasenet.