Skip to content
Advertisement

Tag: notifications

Android FCM notification is not received when app is close or Killed

I implemented FCM Push Notifications. The main problem is when app is closed, notifications not arrive when this happen on device. I tried a lot of thigs for that works; when notification sent the server response with “success”, but I never received. Manifest.xml Answer Try adding enabled=”true” and INTERNAL_SERVICE permission to your message service

Android notification with RemoteViews – having activity associated with RemoteViews layout

I’ve been researching on how to create custom-layout notification using RemoteView. So far, I am able to create a notification with contentView and bigContentView pointing to a RemoteView with a custom layout xml. However, what does not happen, is to have Activity (associated with custom layout) started when this RemoteView is created. I’ve double checked and in my layout xml,

Advertisement