diff --git a/app/build.gradle b/app/build.gradle
index 15a94424f..6e9fad295 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -160,6 +160,10 @@ android {
resValue "string", "about_activity_title", "@string/about_activity_title_banglejs_main"
resValue "string", "about_description", "@string/about_description_banglejs_main"
resValue "string", "gadgetbridge_running", "@string/gadgetbridge_running_banglejs_main"
+ targetSdkVersion 30 // SDK 30 needed for play store
+ // SDK 30 stops us querying package names - https://developer.android.com/training/package-visibility
+ // which we need for getting app name from notifications. We have to request android.permission.QUERY_ALL_PACKAGES
+ // as well for SDK 30
}
}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 0e0ab834b..6721ef0f3 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -31,6 +31,9 @@
+
+
+