diff --git a/buildSrc/src/main/java/AppConfig.kt b/buildSrc/src/main/java/AppConfig.kt
index 8d9402e5c..ddd0e080c 100644
--- a/buildSrc/src/main/java/AppConfig.kt
+++ b/buildSrc/src/main/java/AppConfig.kt
@@ -6,7 +6,7 @@ import java.util.*
object AppConfig {
const val minSdk = 21
- const val targetSdk = 33
+ const val targetSdk = 34
const val compileSdk = 34
// https://developer.android.com/jetpack/androidx/releases/compose-kotlin
const val composeCompiler = "1.5.1"
diff --git a/pillarbox-analytics/build.gradle.kts b/pillarbox-analytics/build.gradle.kts
index 51d0f6bda..d9c078a73 100644
--- a/pillarbox-analytics/build.gradle.kts
+++ b/pillarbox-analytics/build.gradle.kts
@@ -14,7 +14,6 @@ android {
defaultConfig {
minSdk = AppConfig.minSdk
- targetSdk = AppConfig.targetSdk
version = VersionConfig.versionName()
group = VersionConfig.GROUP
diff --git a/pillarbox-core-business/build.gradle.kts b/pillarbox-core-business/build.gradle.kts
index a27866547..593b5dea0 100644
--- a/pillarbox-core-business/build.gradle.kts
+++ b/pillarbox-core-business/build.gradle.kts
@@ -15,7 +15,6 @@ android {
defaultConfig {
minSdk = AppConfig.minSdk
- targetSdk = AppConfig.targetSdk
version = VersionConfig.versionName()
group = VersionConfig.GROUP
diff --git a/pillarbox-demo/src/main/AndroidManifest.xml b/pillarbox-demo/src/main/AndroidManifest.xml
index 2a117b1e6..87a487df7 100644
--- a/pillarbox-demo/src/main/AndroidManifest.xml
+++ b/pillarbox-demo/src/main/AndroidManifest.xml
@@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools">
-
+
```
+And since Android 14 (targetApiVersion = 34) a new permission have to be added:
+
+```xml
+
+```
+
Then in the code you have to use `MediaController` to handle playback, not `PillarboxPlayer`. Pillarbox provide an easy way to retrieve that
`MediaController` with `MediaControllerConnection`.
diff --git a/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/service/PillarboxMediaLibraryService.kt b/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/service/PillarboxMediaLibraryService.kt
index e82880858..12bf5b84a 100644
--- a/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/service/PillarboxMediaLibraryService.kt
+++ b/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/service/PillarboxMediaLibraryService.kt
@@ -22,6 +22,7 @@ import ch.srgssr.pillarbox.player.utils.PendingIntentUtils
*
* ```xml
*
+ *
* ```
* And add your PlaybackService to the application manifest as follow :
*
diff --git a/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/service/PillarboxMediaSessionService.kt b/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/service/PillarboxMediaSessionService.kt
index d036dff3c..44842475c 100644
--- a/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/service/PillarboxMediaSessionService.kt
+++ b/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/service/PillarboxMediaSessionService.kt
@@ -24,6 +24,8 @@ import ch.srgssr.pillarbox.player.utils.PendingIntentUtils
*
* ```xml
*
+ *
+ *
* ```
* And add your PlaybackService to the application manifest as follow :
*
diff --git a/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/service/PlaybackService.kt b/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/service/PlaybackService.kt
index b50149a4d..adbb4ef7d 100644
--- a/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/service/PlaybackService.kt
+++ b/pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/service/PlaybackService.kt
@@ -25,6 +25,8 @@ import ch.srgssr.pillarbox.player.notification.PillarboxMediaDescriptionAdapter
*
* ```xml
*
+ *
+ *
* ```
* And add your PlaybackService to the application manifest as follow :
*
diff --git a/pillarbox-ui/build.gradle.kts b/pillarbox-ui/build.gradle.kts
index 5673a429e..acf03c566 100644
--- a/pillarbox-ui/build.gradle.kts
+++ b/pillarbox-ui/build.gradle.kts
@@ -15,7 +15,6 @@ android {
defaultConfig {
minSdk = AppConfig.minSdk
- targetSdk = AppConfig.targetSdk
version = VersionConfig.versionName()
group = VersionConfig.GROUP