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