Hello,
I updated my project to target sdk version 31 but when I try to upload the build to the Play Store I get this error:
Error: Manifest merger failed : 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.
I have added an activity to my config.xml file but thid does not fix the error.
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android"> <application android:networkSecurityConfig="@xml/network_security_config" /> <activity android:exported="true" /> </edit-config>
I also updated gradle to version 7.6 and all packages to last version.
Can anyone provide me a solution? Thanks in advance for your help.
These are some of my project dependencies
"@ionic-native/admob-free": "^5.33.1",
"@ionic-native/android-full-screen": "5.0.0-beta.15",
"@ionic-native/core": "5.0.0-beta.15",
"@ionic-native/in-app-browser": "^5.1.0",
"@ionic-native/native-storage": "^5.36.0",
"@ionic/angular": "^5.5.2",
"cordova-admob-sdk": "^0.24.1",
"cordova-android": "^10.0.0",
"cordova-plugin-admob-free": "^0.27.0",
"cordova-plugin-device": "^2.1.0",
"cordova-plugin-fullscreen": "^1.3.0",
"cordova-plugin-inappbrowser": "5.0.0",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-ionic-webview": "^5.0.0",
"cordova-plugin-nativeaudio": "^3.0.9",
"cordova-plugin-nativestorage": "^2.3.2",
"cordova-plugin-splashscreen": "^6.0.2",
"cordova-plugin-statusbar": "^3.0.0",
"cordova-promise-polyfill": "0.0.2",
Thanks, Sergio