my AndroidManifest is
in index i wrote
AppRegistry.registerHeadlessTask('RNFirebaseBackgroundMessage', () => firebaseBackgroundMessage);
that firebaseBackgroundMessage is a function as below
export async function firebaseBackgroundMessage(message: RemoteMessage) {
let notif=message['data']; console.log(notif); return Promise.resolve();}
i getting fcm message in background and foreground state but
in closed state is not received any fcm message and in console log i have this error
No task registered for key RNFirebaseBackgroundMessage
any solution? thank a lot for your help ...
