From 36c2fd73b0a831157c24ea660754344a42bd7eb1 Mon Sep 17 00:00:00 2001 From: drahba <87763283+drahba@users.noreply.github.com> Date: Mon, 17 Jan 2022 23:03:18 +0300 Subject: [PATCH] Update AndroidManifest.tmpl.xml If an activity, service, or broadcast receiver uses intent filters and doesn't have an explicitly-declared value for android:exported, your app can't be installed on a device that runs Android 12 or higher. (https://developer.android.com/about/versions/12/behavior-changes-12). I added three changes accordingly with the requirements. --- .../service_only/build/templates/AndroidManifest.tmpl.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pythonforandroid/bootstraps/service_only/build/templates/AndroidManifest.tmpl.xml b/pythonforandroid/bootstraps/service_only/build/templates/AndroidManifest.tmpl.xml index 05ee254c9e..e3f17842cc 100644 --- a/pythonforandroid/bootstraps/service_only/build/templates/AndroidManifest.tmpl.xml +++ b/pythonforandroid/bootstraps/service_only/build/templates/AndroidManifest.tmpl.xml @@ -61,7 +61,7 @@ + android:exported="true"> @@ -86,7 +86,8 @@ + android:process=":pythonbillingreceiver" + android:exported="false">