Skip to content

Easy fix for apps targeting Android 12 #144

@acrespo

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

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