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

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

Open
Anil-dhiman opened this issue Nov 28, 2023 · 1 comment

Comments

@Anil-dhiman
Copy link

In Android 14 i am facing this issue
One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts

the block of code which is responsible for this

private fun initNavigation() {
MapboxNavigationApp.setup(
NavigationOptions.Builder(this)
.accessToken(getString(R.string.mapbox_access_token))
// comment out the location engine setting block to disable simulation
.locationEngine(replayLocationEngine)
.build()
)

On MapboxNavigationApp i am getting crash and getting the further error do anyone has any clue regarding this

@JonathanNiez
Copy link

JonathanNiez commented Mar 17, 2024

yeah same, I got that error too

but it fixed when I try this:

implementation 'com.mapbox.maps:android:10.16.1'
implementation "com.mapbox.navigation:android:2.17.1"
implementation "com.mapbox.navigation:ui-dropin:2.17.1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants