I am trying to send notifications to my Android Emulator using FCM messages, but I am not getting any notifications. google app id is the same as inside google-services.json
this is what i get from the console:
D / FA: connected to a remote service
V / FA: Handling Queued Tasks: 1
V / FA: Inactive, disconnected from AppMeasurementService
my build.gradle (Module: app):
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.example.cris.firebasenotificationexam"
minSdkVersion 22
targetSdkVersion 23
....
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
apply plugin: 'com.google.gms.google-services'
compile 'com.google.firebase:firebase-messaging:9.0.2'
}
Does anyone know how to fix this problem?
source
share