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

App crash on IOS 13.1 #54

Open
rijink7 opened this issue Oct 31, 2019 · 7 comments
Open

App crash on IOS 13.1 #54

rijink7 opened this issue Oct 31, 2019 · 7 comments

Comments

@rijink7
Copy link

rijink7 commented Oct 31, 2019

Cordova app crashes when i tried to play a track. it was working fine in IOS 12.4
Error shown in Xcode log:
2019-10-31 09:52:19.320068+0530 Deepr[1576:26342] THREAD WARNING: ['SpotifyConnector'] took '15.309814' ms. Plugin should use a background thread.
2019-10-31 09:52:20.166649+0530 Deepr[1576:26342] *** Assertion failure in -[MPRemoteCommand addTarget:action:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/MediaPlayer_Sim/MobileMusicPlayer-4017.101.15/SDK/MPRemoteCommand.m:134
2019-10-31 09:52:20.172096+0530 Deepr[1576:26342] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unsupported action method signature. Must return MPRemoteCommandHandlerStatus or take a completion handler as the second argument.'

@NeoLegends
Copy link
Member

I feel like this is something in the Spotify Playback SDK. I'll check for an update there.

@NeoLegends
Copy link
Member

NeoLegends commented Nov 5, 2019

Agh. They have deleted the repository with the Streaming SDK. This is probably breaking this plugin anyway (during installation) and will require a rewrite. @rijink7 do you feel up for the task? If I'm being honest, we do not have any use for this plugin at the moment, so the urge to fix it is rather small. At the same time I'd feel sad if the only Spotify Playback Plugin for Cordova, that supports both iOS and Android, would be dead.

@rijink7
Copy link
Author

rijink7 commented Nov 5, 2019

@NeoLegends Thanks for the replay, yes they have deleted repository for Streaming SDK but there is another repo https://github.com/spotify/ios-sdk which allow interacting with the Spotify app running in the background. I'm trying to rewrite the plugin for the latest SDK.

@NeoLegends
Copy link
Member

Great to hear! Please also ensure the plugin works on Android, because this has been a big issue with previous Spotify-Playback-Plugins for Cordova. :)

@Yheison
Copy link

Yheison commented Nov 6, 2019

Hi, would you find a solution?

@davemee
Copy link

davemee commented Nov 12, 2019

Found this reference: Official Spotify notice of end of Streaming SDK from 2019-11-01 which gives the impression it's kerput as of the start of this month, and even squirrelling around the links for the old Streaming SDKs leads to 404s (both iOS and Android)

@adgehrke
Copy link

adgehrke commented Feb 4, 2020

@NeoLegends Thanks for the replay, yes they have deleted repository for Streaming SDK but there is another repo https://github.com/spotify/ios-sdk which allow interacting with the Spotify app running in the background. I'm trying to rewrite the plugin for the latest SDK.

Hi rijink7, are there any updates on this? I'm really looking forward to use it for my Ionic app :(
If you need any help feel free to contact me :)

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

No branches or pull requests

5 participants