From 87f61c58583967bd2567c30f9b88c292ed99330a Mon Sep 17 00:00:00 2001 From: Arnaud Barisain-Monrose Date: Mon, 20 Sep 2021 18:01:35 +0200 Subject: [PATCH] android: add explicit android:exported values in the manifest entries --- CHANGELOG.md | 4 ++++ dist/plugin.xml | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a1d382..a1cdc4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ Batch Cordova Plugin Cordova users: when updating please remove the old plugin via `cordova plugin remove com.batch.cordova`, then install the new one. Ionic Capacitor users: Nothing needs to be done as Capacitor integrates with NPM and the package.json natively. +**Android** + +- Android 12 compatibility: Added explicit `android:exported` values to the manifest entries added by the plugin. + ## 3.0.1 **Plugin** diff --git a/dist/plugin.xml b/dist/plugin.xml index 5c7b8ae..19ec38b 100755 --- a/dist/plugin.xml +++ b/dist/plugin.xml @@ -57,11 +57,13 @@ + android:permission="android.permission.BIND_JOB_SERVICE" + android:exported="false" /> + android:permission="com.google.android.c2dm.permission.SEND" + android:exported="true" >