-
Notifications
You must be signed in to change notification settings - Fork 191
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
Plugin crashes on iOS 13 #157
Comments
this is very important! |
Any news? Bug still present. |
I'm also facing this issue. |
@homerours Any news? in iOS 13 does not work anymore 😢 |
This fixed it for me |
Does this plugin work for anyone AT ALL? |
It has worked for me on both iOS and Android for over a year. The store/shipping builds still seem to work on iOS 13. However, I can't build a new working app with Xcode 11, or the Beta Xcode 13.2. I tried MarcelvanGastel's modifications twice, but that seems to cause build issues on my Ionic 3 app: (node:22770) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'toLowerCase' of undefined |
Still crash for me :( |
Made some updates to the PR, latest commits work for me - tested in iOS 13.1.2 |
I fixed my build issue. The audio does start playing..then I get: Playing stream with AVPlayer & default rate *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unsupported action method signature. Must return MPRemoteCommandHandlerStatus or take a completion handler as the second argument.' Did you modify other routines other than remoteEvent, playEvent, pauseEvent, nextTrackEvent prevTrackEvent returning MPRemoteCommandHandlerStatusSuccess? Update I did get this to work if I comment out I tried updating skipForwardEvent() and skipBackwardEvent() to be of type and return MPRemoteCommandHandlerStatus, but that didn't correct the exception if I set hasSkipForward /hasSkipForward to true |
Hello this issue is fixed in this repo : https://github.com/ghenry22/cordova-music-controls-plugin
|
Thank you!! This has the lock screen skip-controls enable now when I set them to be true! Everything seems to work in my app as before, as it did on the previous version of iOS! |
After upgrading to iOS 13, the plugin crashes the app as soon as the
MusicControls.create({..
is called.This happens on device and in the simulator
The text was updated successfully, but these errors were encountered: