Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Android target level api 31

See original GitHub issue

🏗 Enhancement Proposal

As of August 31 all new apps must be at SDK target API level 31. Updates for existing apps have to be at level 31 as of November 2022 as stated here. However, currently the MediaManager plugin doesn’t support API level 31, mostly due to the dependency on ExoPlayer.Xamarin which binds against an older version of ExoPlayer that is not yet API level 31 ready. It uses the older way of creating the notification intent, without the correct PendingIntentFlags.

I have started the upgrade to the first version of ExoPlayer that supports Android 12 (version 2.14.2) on my fork I got stuck updating the examples. Contributions welcome.

This might be a first start to get the MediaManager up to date and to help progress into a MAUI compatible library.


Update the MediaManager to API level 31 to keep it in line with current Google Play requirements.

Platforms affected (mark all that apply)

  • 📱 iOS
  • 🤖 Android
  • 🏁 WPF
  • 🌎 UWP
  • 🍎 MacOS
  • 📺 tvOS
  • 🐒 Xamarin.Forms

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

martijn00commented, Aug 24, 2022

Yes, i’ll do it as soon as i get a chance.

areimchecommented, Aug 22, 2022

Hello @martijn00,

Is there anything new regarding API Level 31 support? Is there already an update planned?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Meet Google Play's target API level requirement
Starting on August 31, 2023: New apps must target Android 13 (API level 33) or higher; except for Wear OS apps, which must...
Read more >
Target API level requirements for Google Play apps
Currently, existing apps (across mobile, Android Auto, Android TV) must target API level 31 or above by August 31, 2023 (target API 30...
Read more >
API Levels | Android versions, SDK/API levels, version codes ...
Version SDK / API level Version code Codename Cumul... Android 14 DEV Level 34 UPSIDE_DOWN_CAKE Upside Down Cake — Android 13 Level 33 TIRAMISU Tiramisu...
Read more >
Your app currently targets API level 30 and must ...
Your app currently targets API level 30 and must target at least API level 31 to ensure it is built on the latest...
Read more >
Android Target API 31 (Android 12) Update
On June 2022 Google announce to Android Developer that all of app that service on Google Play must update Android app's Target API...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found