Push notification not working for app kill

We have upgraded IONIV V3 to Ionic Capacitor V3,

Face Push Notification issue on

  1. First, we tried with Capacitor Push Notification - Getting pull notification but not getting PUSH notification on APP KILL

  2. We have again added “@havesource/cordova-plugin-push”: {
    “ANDROIDX_CORE_VERSION”: “1.6.+”,
    “FCM_VERSION”: “18.+”
    },
    @ionic-native/push”: “^4.12.2”,
    @ionic-native/core”: “4.4.0”, which we were using in ionic 3 version.

  3. after that replaced capacitor push plugins with this old plugin that mentioned inside step 2. This will provide push notification on app kill as well as background but not for android 12 only worked with below android 12.

Any solution for Capacitor PUSH NOTIFICATION on app kill/Background. If we are using capacitor PUSH plugins our JSOn response not in expected format like {notification:{

}} so it will not trigger as well.

Please provide some Solution

I know that you need to be on Capacitor 4 in order to support Android 12 (SDK 31 & 32).

I have upgrade still same issue
image

If you have updated capacitor and the fcm community plugin, there is a good chance that you should add this in the AndroidManifest.xml

            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />

                <action android:name="FCM_PLUGIN_ACTIVITY" />
                <category android:name="android.intent.category.DEFAULT"/>

            </intent-filter>

And you need to add the google-services.json