universal-tools / UTNotificationsFeedback

7 stars 0 forks source link

Android 12 Support #138

Open kdeger opened 2 years ago

kdeger commented 2 years ago

Tried to set the Android Target API Level to 31 and upload the project to Play console but faced an error. Depending on the description "If an activity, service, or broadcast receiver uses intent filters and doesn't have an explicitly-declared value for android:exported, your app can't be installed on a device that runs Android 12 or higher." changed every Manifest file including intent filters and added android:exported but couldn't succeed to upload, faced the same error. Removing UTNotification fixed the issue so it seems we need an update to prevent this from happening.

kuoliangkwong commented 2 years ago

+1

davidmcarati-morpheus commented 2 years ago

Just open the Manifest of UTNotifications, and copy all elements that have intent-filter in them, to your main AndroidManifest. After that, just add android:exported="true" tools:replace="android:exported" like this vvvv

`

</receiver>`