Everything seems correct. Are you building the right flavor of the app? Have you checked user attributes to see if you get the token?
Not getting the token, is clear
The build is correct
I don't see build flavor on your screenshot. Which flavor are you building?
I don't understand your question very well .. I don't know much English and I don't know the word "flavor"
Are you familiar with Android development? It's a standard term.
Yes.
Then you should definitely know what "flavor" is.
The flavor not is this
android {
compileSdkVersion 28
defaultConfig {
applicationId 'site.seelight.gps'
minSdkVersion 19
targetSdkVersion 29
versionCode 20
versionName '2.9'
}
flavorDimensions 'default'
productFlavors {
regular {
isDefault.set(true)
}
google
}
buildToolsVersion = '28.0.3'
}
You have to select it in the Android Studio. I would recommend you to read Android Studio documentation if you are not familiar with it.
Someone else who knows much more about this and helps
I could already make it work. I had to change "Build Variants"
Now I have a detail .. You are only sending the "test notifications". It does not send any event notification.
Pack of images of problem https://imgur.com/a/p1Vt8BF
Hi.
I want to implement push notifications with firebase and android. But it doesn't want to work for me.
I already included the google-services.json file, I already changed the settings on the server, I already compiled the app and it doesn't work. What am I doing wrong.
The key that I put in the firebase configuration is the one that gives me the "cloud messaging", called "Server key"