cordova-plugin-geofence
cordova-plugin-geofence copied to clipboard
Not compatible with Cordova Android 11 due `android:exported` error
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
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.