Cordova-plugin-fcm-with-dependecy-updated issue

Hi,
Am using the Android sdk 32 with cordova-andriod 11 we are facing the cordova-plugin-fcm-with-dependecy-updated plugin issue.Am getting the below issue.
ionic/platforms/android/app/src/main/AndroidManifest.xml:25:9-30:20 Error:

    android:exported needs to be explicitly specified for element <activity#com.gae.scaffolder.plugin.FCMPluginActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.

ionic/platforms/android/app/src/main/AndroidManifest.xml:31:9-35:19 Error:

    android:exported needs to be explicitly specified for element <service#com.gae.scaffolder.plugin.MyFirebaseMessagingService>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.

[/quote]

/topics/manifest/activity-element#exported for details.

3 Likes

I have an same issue with IONIC-6 Cordova

I have the same issue using Ionic-6.12.3 cordova

does any one get any solution to this issue

1 Like

Please. I have the same issue. Did you solve it?

In config.xml, inside <platform name="android"> tag:

<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application/activity[@android:name='com.gae.scaffolder.plugin.FCMPluginActivity']">
            <activity android:exported="true" />
        </edit-config>