IONIC Cordova app is giving android exported error


We have an app developed using IONIC CORDOVA. When I am trying to upload app on the play store then it gives an error
"Apps targeting Android 12 and higher are required to specify an explicit value for android:exported"

I am using cordova-android: 8.0.0

If I am using cordova-android:10.1.0 then I am unable to build app.


I have solved this by adding android:exported: true to manifest.xml

<intent-filter android:exported="true" android:label="@string/launcher_name">

Please note that this error is related to launcher activity intent only

Answered By – Krish

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published