firebase - android FCM enable/disable from application settings -


i've implemented firebase cloud messaging in android app.

is possible turn notifications off application settings screen?

it possible old gcm have broadcast gcmreceiver , handle ourselves.

now have firebaseinstanceidservice , handle when app in foreground.

how can handle when app in background?

is possible disable firebase cloud messaging category of notification inside app or should done on server side?

you can manage whether or not notifications displayed sending data messages app server. firebase console sends notification messages, types of messages generate notifications automatically when app in background. if want full control of when notifications displayed use data messages available app server, not yet firebase console. see more on message types here.


Comments