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

Not compatible with Cordova Android 11 due android:exported error #315

Open
keev-studio opened this issue Oct 20, 2022 · 1 comment
Open

Comments

@keev-studio
Copy link

Hi, when building on Cordova Android 11 I get this error
Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined
anyone know how to proceed or know any Cordova 11 compatible plugin?
thank you

@golyo
Copy link

golyo commented Feb 28, 2023

Should try this:
https://github.com/showme79/cordova-plugin-geofence

  • added exported flag to BootReceiver,
  • removed deprecated cordova-plugin-compat, and updated java sources to androidx packages,
  • removed gson.lib and added as configurable gson version ANDROID_GSON_VERSION
  • updated default GOOGLE_API_VERSION to 17.0.0

It is working for me.

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