Skip to content

One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified #29

@IAmDarush

Description

@IAmDarush

I'm getting the following crash on Android 14 (API 34):

java.lang.SecurityException: com.example.test_app: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts

The crash happens on calling arduino.setArduinoListener(listener).

Reference: https://developer.android.com/about/versions/14/behavior-changes-14#runtime-receivers-exported

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