java - GcmListenerService.onMessageReceived() not called -
i'm working on implementing gcm notifications app. the problem i'm having onmessagereceived() method gcmlistenerservice implementation isn't called. receive data gcm servers fine, since automatically generates notification (i wish replace own notification using onmessagereceived() method) after none of log calls printed in log. json sent server gcm server { "notification" : { "title" : "title", "text" : "message", "icon" : "@drawable\/ic_notification", "click_action" : "open_main_activity" }, "registration_ids":[ "xxxx", "xxxx", "xxxx", "etc" ] } androidmanifest.xml (gcm part only) <!-- gcm start --> <receiver android:name="com.google.android.gms.gcm.gcmreceiver" android:exported="true" android:permission=...