Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts #182

Open
vishnuur6282 opened this issue Apr 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@vishnuur6282
Copy link

vishnuur6282 commented Apr 25, 2024

While running and opening the app in android auto, I am getting the error
RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts

Steps to reproduce the behavior:

  1. Run the application
  2. Open DHU, app will be visible in there
  3. Open the app
  4. Turn on the debug mode

App should be displayed with HTML part instead of this error

I have attached a few screenshots below
image
image

  • Device: [Samsung S21FE/ DHU ]
  • OS version [Android 13]
  • RNCarPlay version 2.4.0-beta.2

This Issue was caused by the absence of RECEIVER_EXPORTED / RECEIVER_NOT_EXPORTED flag which was introduced in Android 13 and is mandatory.

https://stackoverflow.com/questions/77235063/one-of-receiver-exported-or-receiver-not-exported-should-be-specified-when-a-rec

Please incorporate this to https://github.com/birkir/react-native-carplay/blob/master/packages/react-native-carplay/android/src/main/java/org/birkir/carplay/CarPlaySession.kt
Line No:39

@vishnuur6282 vishnuur6282 added the bug Something isn't working label Apr 25, 2024
@vishnuur6282
Copy link
Author

@birkir Hi, is there any update on this issue !

@Deepak-Foodhub
Copy link

@vishnuur6282 you can do RECEIVER_EXPORTED value in CarPlaySession class as mentioned below

Screenshot 2024-05-10 at 7 09 39 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants