Closed anhoang241998 closed 9 months ago
Thank you very much for your report.
I'll review it as soon as possible.
Please add to androidmanifest.xml:
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
<service android:name="com.rcudev.player_service.service.SimpleMediaService" android:foregroundServiceType="mediaPlayback"/>
Sorry for the delay. As @lotik2021 comments, it was necessary to indicate the type of service and add the corresponding permission in the Manifest.
Describe
If you run the project on the emulator with SDK34. The app was crash and stack trace was logged that it cannot start the
SimpleMediaService
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The app wouldn't be crashed.
Stack trace