1

After updating app in android 12 and try to run app in android 12 device and simulator facing issue for crashing.

Here is issue. androidx.media.session.MediaButtonReceiver: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present'

Resolve With use of android:exported="true" fixed issue for run app but service not start once player on in app. so again crash app.

1

2 Answers 2

0

Please check the Github for React-Native-Track-Player.

There is a Beta version for use with Android 12.

Sign up to request clarification or add additional context in comments.

Comments

0

Following this question, anyone was able to patch the package to make it work on Android 12? Using a non-final version seems more buggy than just adapting the stable one.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.