Cordova-plugin-customurlscheme throws android:exported needs to be explicitly... Error

The plugin cordova-plugin-customurlscheme throws the same error that cordova-plugin-x-socialsharing:

android:exported needs to be explicitly specified for element <activity#your.bundle.id.MainActivity>.
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.

So I think maybe you want to add it to the list of plugins which have been reported to cause problems published on Building for Android 12 | VoltBuilder an add your magic -android12 flag to it :+1:

Thank you - we’ll have a look!

Also there’s a typo in the mentioned list, it is ’ @havesource/cordova-plugin-push not @have-source/cordova-plugin-push :sweat_smile:

Thank you - the docs will be updated today.

To fix the problem with cordova-plugin-customurlscheme, it will need to be forked into a new plugin with the error fixed. (It doesn’t look like the original maintainer is doing anything with the plugin). Kind souls have fixed some of the other ones this way - doing so ourselves is out of scope for our support team.