question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error in plugin music-controls on ios

See original GitHub issue

Hi,

I’m trying to use this plugin https://beta.ionicframework.com/docs/native/music-controls with capacitor, but when I build the project with Xcode I got this error: 'MainViewController.h' file not found in node_modules/@capacitor/cli/assets/capacitor-cordova-ios-plugins/sources/CordovaPluginMusicControls/MainViewController+MusicControls.h.

It builds on cordova.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ingagecocommented, Sep 30, 2019

Working on a rewrite for Capacitor for Music Controls. iOS is mostly ported (have to fix the image) - it works for my needs. I’ll try to find a way to get the Android side done asap - this is my first try at Swift and Android native code.

https://github.com/ingageco/capacitor-music-controls-plugin

1reaction
Sourav-techlurcommented, Mar 23, 2020

@ingageco Hi, I am working on an app which is almost completed and now i am stuck at the music controls to handle inside the app can you tell me the steps how to use your plugin as when i try to build it capacitor skip that plugin inside build so unable to use the plugin. Thanks in advance

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - Ionic Music Controls does not work - Stack Overflow
I've tested a lot of plugins versions, It's working on iOS only using 1.4.1. I've used this environment: cordova-plugin-music-controls@1.4.1 ...
Read more >
Using USB accessories with iOS and iPadOS - Apple Support
In Settings, go to Face ID & Passcode or Touch ID & Passcode, and turn on USB Accessories under Allow Access When Locked....
Read more >
How to fix problems in GarageBand iOS - YouTube
How to fix errors with GarageBand iPad and GarageBand iPhone such as crashing, not loading and plugins missing. GarageBand iOS FAQ ......
Read more >
iPhone Music App Pops Up on Lock Screen When Not Playing
This error – the music app pops up on the lock screen when not playing happens because you didn't close it properly. You...
Read more >
Known Incompatible Cordova Plugins - Capacitor
While we've tested a number of popular Cordova plugins, it's possible Capacitor doesn't ... cordova-plugin-music-controls (causes build failures, skipped) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found