Skip to content

Easy fix for apps targeting Android 12 #144

Description

@acrespo

Library breaks build when targeting Android 12

Please add

               android:exported="false" 

to "com.github.moduth.blockcanary.ui.DisplayActivity"

Or recommend users to add

        <activity android:name="com.github.moduth.blockcanary.ui.DisplayActivity"
                android:exported="false" />

to their AndroidManifest.xml

See: https://cafonsomota.medium.com/android-12-dont-forget-to-set-android-exported-on-your-activities-services-and-receivers-3bee33f37beb

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions