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

Implementing MediaBrowserCompat #598

Closed
neoassyrian opened this issue May 18, 2019 · 1 comment
Closed

Implementing MediaBrowserCompat #598

neoassyrian opened this issue May 18, 2019 · 1 comment

Comments

@neoassyrian
Copy link

I was wondering if MediaBrowserCompat can be implemented. I can help implement it and test it if you someone can point me to the right direction to the right class to implement.
Do I need to implement it in the MetadataManager.java? or have to create a new class that extends the MediaBrowserCompat?

@Guichaguri
Copy link
Collaborator

This module used to implement MediaBrowserCompat, but due to internal and API changes, we removed it.

The problem is that the service must extend MediaBrowserServiceCompat, since it already extends React Native's HeadlessJsTaskService, we'd have to extend the media browser service and copy the whole code from the headless JS service into ours. That would make the service code really awful and hard to maintain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants