Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: app crashes right when starting to play in background #3

Closed
AndroidDeveloperLB opened this issue Dec 1, 2019 · 5 comments
Closed
Labels
bug Something isn't working

Comments

@AndroidDeveloperLB
Copy link

See attached video:

2019-12-01_22-51-17.zip

You need to add:

    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

But even then, when I try to start playing, it doesn't do anything:

2019-12-01_22-53-27.zip

@ZahraHeydari
Copy link
Owner

Apps targeting Android Q (API 29) by default are given a filtered view into external storage. I solved this issue by adding:
<manifest ... > <application android:requestLegacyExternalStorage="true" ... > ... </application> </manifest>

@ZahraHeydari ZahraHeydari added the bug Something isn't working label Dec 4, 2019
@AndroidDeveloperLB
Copy link
Author

This isn't a proper solution, especially in a repository.
It's a temporary one

@ZahraHeydari ZahraHeydari reopened this Dec 4, 2019
@AndroidDeveloperLB
Copy link
Author

Just a note: I don't like what Google is doing with the storage. It even made weirder claims and decisions on a recent video :

https://www.youtube.com/watch?v=UnJ3amzJM94&feature=youtu.be&t=369

@ZahraHeydari
Copy link
Owner

Thanks for sharing.

@AndroidDeveloperLB
Copy link
Author

Yes, there is a lot of talk against it on reddit, and there are multiple articles about it by CommonsWare.

I have no idea what will happen, and I'm very confused by the huge amount of information that exists about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants