cordova-plugin-geofence icon indicating copy to clipboard operation
cordova-plugin-geofence copied to clipboard

Not compatible with Cordova Android 11 due `android:exported` error

Open keev-studio opened this issue 2 years ago • 1 comments

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

keev-studio avatar Oct 20 '22 22:10 keev-studio

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.

golyo avatar Feb 28 '23 14:02 golyo