Closed ghost closed 2 years ago
Build failed.
> Task :processReleaseMainManifest FAILED
C:\talkback-foss\src\main\AndroidManifest.xml Error:
android:exported needs to be explicitly specified for <service>. 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.
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processReleaseMainManifest'.
> Manifest merger failed : android:exported needs to be explicitly specified for <service>. 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.
Need to work out some things I looked over. Thank you for testing. Didn't catch some of this stuff. @PatrykMis
Don't merge yet.
Doubt I can work on this. I have no proper way of testing this because targeting SDK 31 requires some code changes relating to intents and possibly more. Especially since users rely on Talkback here.
And I don't have a secondary device to test with. Android Studio emulator isn't that great.
If you are able to work on it, I can actively test.
I'll likely make some minor changes and PRs.
android:exported true
in manifest to target Android 12