jofr / capacitor-media-session

Capacitor plugin for media notifications and platform media keys as well as background audio playback.
GNU General Public License v3.0
33 stars 25 forks source link

Update to Capacitor 6.0 #26

Open Christoffyw opened 4 months ago

Christoffyw commented 4 months ago

Pretty self explanatory

Christoffyw commented 4 months ago

I dropped a PR that should resolve this. Unfortunately it hasn't been tested.

Christoffyw commented 4 months ago

Just tested it, and it works.

bonomite commented 3 months ago

Thanks @Christoffyw This is the only plug in holding back my v6 upgrade. I hope this gets resolved soon.

caf-3 commented 3 months ago

I need this into my app :( :( My app has a Music Player in it and it doesn't make sense to play Music without controls.

caf-3 commented 3 months ago

If you can guide me, I want to contribute for this project, I'm in love with capacitor and if there is something you need help (in terms of coding 😅) just hit me up. And I don't know Java nor Swift

giovannigarifo commented 3 months ago

@caf-3 You can clone the repository and upgrade the project to Capacitor 6. This in my fork, as an example: Capacitor Media Session Fork. Then, point the dependency in your package.json to the local path where you cloned the project. For example, if you cloned it in the parent folder of your project, you would add:

"@jofr/capacitor-media-session": "file:../capacitor-media-session"

This is a temporary solution while we wait for the merge of the existing pull request: Pull Request #27.

webmasterab commented 2 months ago

@jofr Is it possible to update the plugin to capacitor 6.0. We need to update the app to capacitor 6.0 in order to write to API 34, which is mandatory as of August 31, 2024 to keep the app in Google Play.

webmasterab commented 1 month ago

@giovannigarifo how can I clone this? I have no idea what to do and I really want to update to capacitor 6.0. Can you explain what I need to do?