high · M8 · MASVS-PLATFORM-1 · PTKD-REVIEW-PLAY-EXPORTED-MISSING

    Component with an intent filter but no android:exported

    The app targets Android 12 or higher, and a component with an intent filter has no explicit android:exported. Such an app cannot be installed on Android 12 or higher, and Google Play refuses the upload.

    How it is exploited

    Not an attack: an old activity or broadcast receiver keeps its intent filter but never got android:exported when the app moved to targetSdk 31+. Play Console refuses the upload with "can't be installed on Android 12 or higher", and side-loaded builds fail to install.

    Why it matters

    No update can be uploaded until every component with an intent filter says whether it is exported.

    How to fix it

    1. Open the merged manifest (Android Studio, Merged Manifest tab) and find the components named in the evidence.
    2. Set android:exported="true" on the launcher activity and on components other apps must reach (deep links, share targets).
    3. Set android:exported="false" on the rest; for a library's component, override it in your manifest with tools:node="merge".

    Does your app have this?

    PTKD checks your build or your source project for PTKD-REVIEW-PLAY-EXPORTED-MISSING and every other check in this knowledge base.

    Scan your app

    References

    Related checks (M8)